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
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
Fabcon_Europe_Social_Bogo

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.