cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DanielPasalic
Helper II
Helper II

Percentage column

Hi
I need to create a percentage (%) column but all values should be divided with 100 before I can change Data Type (from a decimal number to percentage)

Anyone who can help me?

 

Decimal numbersDecimal numbersShould be 98,58%Should be 98,58%

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Try this

 

New column= divide(old_column,100,0)

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @DanielPasalic 

 

 

 click on your column. and go to modelling tab and then change the format to percentage.

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

Not so easy @Anonymous 
As I already mentioned, if I do what you recommend I get totally wrong percentage. 
I have value 98,640 and if I just change to the percentage I get 9 8640,00% instead of 98,64%.
Somehow I need to divide with 100 all raws in this column and after that, I can change to percentage. But I don't know-how. 

Anonymous
Not applicable

Try this

 

New column= divide(old_column,100,0)

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors