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

How to display Inverse Percentage for a Field?

Hi,
I have a field that displays the value as 0.73, 0.82, 0.91, etc,.

The need is to display these values as Percentage. 
But, this needs to be inverse percentage - that is: 1-0.73 = 0.27 ~ 27%. 

Is there a DAX formula that can help with this? 

2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@Rdarshana 

you can try to create a new column

Column = 1-'Table'[Column1]
and set the data type to percentage
11.PNG




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

pls try this

measure = 1- max(Original Col)





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
ryan_mayu
Super User
Super User

@Rdarshana 

you can try to create a new column

Column = 1-'Table'[Column1]
and set the data type to percentage
11.PNG




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi,
Thanks for showing the calc. I see that it works when I add a new column in the same table. 
However, when I create the calculated column under Measures folder, it just displays 1.00 in the report.
Just curious, as to why would PBI calc behave like this.
Calc is simple = 1-Orginal col.

Rdarshana_0-1721952414133.png

 

pls try this

measure = 1- max(Original Col)





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




So, I tried this - 

New Measure = 1-MAX(table name [ columne name]), and it still displays 1.00.

Thus, for now, I shall retain this as a new column in the current table, since that is working.

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.