cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ta5656 Frequent Visitor
Frequent Visitor

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

Accepted Solutions
AClerk Member
Member

Re: How to create a new column on based on Percentage column

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
4 REPLIES 4
AClerk Member
Member

Re: How to create a new column on based on Percentage column

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
ta5656 Frequent Visitor
Frequent Visitor

Re: How to create a new column on based on Percentage column

@AClerk Thanks for the response.

 

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

 

Thanks!

Highlighted
ta5656 Frequent Visitor
Frequent Visitor

Re: How to create a new column on based on Percentage column

The percentage(%) column is created measure.

Community Support Team
Community Support Team

Re: How to create a new column on based on Percentage column

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.