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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 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.

Top Solution Authors