Forum Discussion
Upali63
Helper II
2 years agoDAX Comparison operators do not support
Hi Friends
Prd_Sales = CALCULATE(sum(GLT_DATA[AMOUNT]),GLT_DATA[TBL_FLG])="SA"
I have created the above measure and when I try to use the same with a visual I get below message. I dont know how to solve it. Kindly help please.
pls try this
Prd_Sales = CALCULATE(sum(GLT_DATA[AMOUNT]),GLT_DATA[TBL_FLG]="SA")
6 Replies
- Ahmedx
Super User
you need to convert the GET_DATA[AMOUNT] column to a number in power query
- Upali63
Helper II
Hi Ahmedx
It is alraedy a numeric field
- Ahmedx
Super User
Share sample pbix file to help you.
- Ahmedx
Super User
pls try this
Prd_Sales = CALCULATE(sum(GLT_DATA[AMOUNT]),GLT_DATA[TBL_FLG]="SA")
- Upali63
Helper II
Thanks a lot
- Ahmedx
Super User
you wrote the parentheses incorrectly, write it like this