The formula generated is : IF(SELECTEDVALUE('FACT-Production KPI'[DimensionUnit]),0 == 0, "Click a Company to See Details - so it needs to change the way quotation marks are set
First: there is too many arguments in IF function - so it resulted in error in DAX expression
Second: There was the problem with quotation marks - needed was to add additonal "\"
Third: Selectedvalue wasn't necessary - HASONEVALUE is little bit faster and code is cleaner
The formula generated is : IF(SELECTEDVALUE('FACT-Production KPI'[DimensionUnit]),0 == 0, "Click a Company to See Details - so it needs to change the way quotation marks are set
First: there is too many arguments in IF function - so it resulted in error in DAX expression Second: There was the problem with quotation marks - needed was to add additonal "\" Third: Selectedvalue wasn't necessary - HASONEVALUE is little bit faster and code is cleaner