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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
ta5656
Helper I
Helper I

How to create a new column on based on Percentage column

I have a table with a column that shows percentages as shown in the below image (column C), now I want to create a column on based on the percentage values in column C. For example, if the percentage is greater than or equal to 10 then output should "Incorrect Data" else if the percentage is less than 10 then output should be "correct data". How to achieve this condition column in Power BI on based on percentage values column?

 

 

Capture2.PNG

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Relate to the values as decimals.
0.01 = 1%
0.1 = 10%
1.0 = 100%
 
Column = IF(Table1[Column1] > 0.1, "Wrong Data", "Correct Data")
 
2019-02-19 14_26_06-papercut - Remote Desktop Connection.png

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Relate to the values as decimals.
0.01 = 1%
0.1 = 10%
1.0 = 100%
 
Column = IF(Table1[Column1] > 0.1, "Wrong Data", "Correct Data")
 
2019-02-19 14_26_06-papercut - Remote Desktop Connection.png

The percentage(%) column is created measure.

Hi @ta5656 

 

You may create a measure as below:

Measure 3 = IF([Percent]>=0.1,"Incorrect Data","Correct data")

1.png

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@Anonymous Thanks for the response.

 

Can you guide me on how to relate values as decimals?

 

Thanks!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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