IF function (DAX) - DAX | Microsoft Learn
learn.microsoft.com › en-us › daxJun 21, 2022 · The IF function can return a variant data type if value_if_true and value_if_false are of different data types, but the function attempts to return a single data type if both value_if_true and value_if_false are of numeric data types. In the latter case, the IF function will implicitly convert data types to accommodate both values.
IF – DAX Guide
https://dax.guide › ifIF DAX Function (Logical) ... Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE. Syntax. IF ( <LogicalTest>, ...
IF Statement - Power BI Desktop
community.powerbi.com › t5 › DesktopApr 29, 2016 · DAX => New Column = IF ( [Reference Status]="No", [Date], BLANK () ) if you want to do this during import in the Query Editor (just follow the picture) Give the Column a Name and the conditions - the Query Editor will genetrate the column in M which is M => if [Reference Status] = "No" then [Date] else "" View solution in original post