Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Upali63
Helper II
Helper II

DAX 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.

 

Upali63_0-1696178792914.png

 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

pls try this

Prd_Sales = CALCULATE(sum(GLT_DATA[AMOUNT]),GLT_DATA[TBL_FLG]="SA")

View solution in original post

6 REPLIES 6
Ahmedx
Super User
Super User

you wrote the parentheses incorrectly, write it like this

 

Screenshot_1.png

Ahmedx
Super User
Super User

pls try this

Prd_Sales = CALCULATE(sum(GLT_DATA[AMOUNT]),GLT_DATA[TBL_FLG]="SA")

Thanks a lot

Ahmedx
Super User
Super User

Share sample pbix file to help you.

Ahmedx
Super User
Super User

you need to convert the GET_DATA[AMOUNT] column to a number in power query

 Hi Ahmedx

It is alraedy a numeric field

 

Upali63_0-1696241745890.png

 

 

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.