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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

If condition

I need help with the if condition. The third condition is not being applied where i am using and condition together with if.Can anyone please tell me the issue here?

 

 

 

 

IF and issue.PNG

1 ACCEPTED SOLUTION

Hi @Anonymous 

You could add a pair of parentheses to wrap the third condition in this if statement. This should work.

042205.jpg

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

3 REPLIES 3
HotChilli
Community Champion
Community Champion

we can't see your data so can't give you an exact answer but you can debug it from your side.

Remove all the other 'if' tests so that you only have the line with the 'and's (put a simple string in the 'else').

Now, copy the line somewhere else (text editor or something - just so you don't lose it)

Remove all the 'and' conditions to make the 'if' conditions work.  Then add 1 'and' condition back in.  See if it breaks. When it works, add another 'and' condition in, then repeat etc. 

Anonymous
Not applicable

amount.PNG

 

This is the data i have circled the values as well.

 

Hi @Anonymous 

You could add a pair of parentheses to wrap the third condition in this if statement. This should work.

042205.jpg

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.