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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors