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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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