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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Kalindi_2021
New Member

IF function

Hi Team !

Greetings of the day !

Please guide Why does IF function not work in POWER BI when applied to return the value "good" for big profit .

Is there any limitations of 'IF' for string or integer.

Thanks

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @Kalindi_2021 ,

 

from my experience I can tell that IF works with Power BI.
Based on the scarce information you provided it's not possible to provide any help.
Provide the statement, tell us if you are using DAX and want to create a calculated column or a measure or if you are going to us Power Query and use M.

For now, I recommend reading this: IF – DAX Guide

 

Hopefully, the article helps to tackley your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
TomMartens
Super User
Super User

Hey @Kalindi_2021 ,

 

from my experience I can tell that IF works with Power BI.
Based on the scarce information you provided it's not possible to provide any help.
Provide the statement, tell us if you are using DAX and want to create a calculated column or a measure or if you are going to us Power Query and use M.

For now, I recommend reading this: IF – DAX Guide

 

Hopefully, the article helps to tackley your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

 TomMarten !
I want to add a calculated column for the sum of profit in which values must be executed as per "good profit" and "average profit".

Category Sum of Profit
Furniture 18,451.27
Office Supplies 1,22,490.80
Technology 1,45,454.95

 

Kalindi_2021_0-1719045641119.png
Here the category "Technology" must come with "GOOD PROFIT", but it is not working.
Thanks

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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