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
JPY
Helper II
Helper II

Why negative numbers cannot be detected by the "Conditional column"

Hi all,

I am trying to add a conditional column to categorize column FR, however the negative numbers cannot be detected as shown below.

Kindly please advise how to solve it.

final1.PNGfinal2.PNG

 

Thank you for your help!

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

This is a logic error. Every possible numeric value is satisfied by your first 2 conditions, so you will only get A or B. Delete the second condition ( if FR <= 35 then B) and everything should work fine.

View solution in original post

3 REPLIES 3
d_gosbell
Super User
Super User

This is a logic error. Every possible numeric value is satisfied by your first 2 conditions, so you will only get A or B. Delete the second condition ( if FR <= 35 then B) and everything should work fine.

Hi @d_gosbell 

 

I've tried your method, however, the correct values do not seem to fall into the correct category that I have intended it to be in. 


Here is the logic I want to apply:

  1. If X>35 then A
  2. If 5<X<35 then B
  3. If X<=5 then C

How would I go about doing this?

Thank you for your reply!

 

Hi @d_gosbell,

Pls ignore the above question, your method worked.

Thanks!!

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.