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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
RUPSY777
Helper II
Helper II

Power bi - i added a dax for a column but its not working

Power bi - i added a dax for a column as Column_test = IF(test[Variance]>=0 , "No-deviation" ,"Deviation") - it seems the else part is not working

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @RUPSY777,

I just created the calculated column as you refer in case, and it works well. Does the value of test[Variance] come from the subtraction of the another 2 field values? If yes, could you please provide the data type of this 2 fields? And is there any empty value in this 2 fields? It is better if you can share some sample data except sensitive data.

sample.JPG

 

Best Regards

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

Seems fine. Can you share some sample data it is not working?

In between try 0.0, just to make sure numeric on both sides.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.