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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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

Power BI Monthly Update - August 2025

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