cancel
Showing results for 
Search instead for 
Did you mean: 
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
Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors