cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ta5656 Regular Visitor
Regular 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 New Contributor
New Contributor

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

View solution in original post

4 REPLIES 4
AClerk New Contributor
New Contributor

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

View solution in original post

ta5656 Regular Visitor
Regular 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!

ta5656 Regular Visitor
Regular Visitor

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

The percentage(%) column is created measure.

v-cherch-msft Super Contributor
Super Contributor

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.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 144 members 1,589 guests
Please welcome our newest community members: