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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
StuartSmith
Power Participant
Power Participant

"IF" Statement for % values are not working.

I have a Custom Coumn called "AttritIon" that creates a percentage value column, I then have another Custom Column called "KPI" that identify if the "Attrition" column values are "Out of KPI" or Within KPI", but the "Within Attrition KPI" isnt working. 

 

Within Attrition KPI = IF('Cuser Archive data'[Attrition]>5,"Out of KPI","Within KPI")
 
Anything below 5% should be "Within KPI", otherwise "Out of KPI", but as you can see, its not working.
attrition percentage.png
 
Thanks in advance.
1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

Please try something like below.

 

Within Attrition KPI =
IF ( 'Cuser Archive data'[Attrition] > 0.05, "Out of KPI", "Within KPI" )

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi,

Please try something like below.

 

Within Attrition KPI =
IF ( 'Cuser Archive data'[Attrition] > 0.05, "Out of KPI", "Within KPI" )

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


That worked, so thanks, but why? 😁

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.