Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to use the IN function is analysis services tabular, but it is returning me an error. I tried the same in my co-worker machine and it is working perfectly. I have already uninstalled my data tools 2017 and 2015 and installed again. Now I have only SSDT 2015 and having this problem.
TestMeasureIN:= CALCULATE( COUNTROWS(DimDate), DimDate[MonthName] IN {"may", "july"} )
SEMANTIC ERROR: THE SYNTAX FOR 'IN' IS INCORRECT
Hi @EvertonRamone,
By my tests, the syntax of your formula should be right which works as expected in Power BI.
I'm afraid that the SSDT 2015 may not support IN function. Please try with the latest version.
Best Regards,
Cherry
I belive you need to be using analysis services 2017 or later to have the IN function.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |