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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Multiply number formatting number in column

Hello community

i have a column in a matrix table with porcentage and decimal values. How can display the correct formatting for each value? What I need is to show the numbers in porcentage and in decimals depending of the value. However power bi shows all the values in a single format, decimals or porcentage. Is there a way to respect the formatting for each value?

thank you

1 ACCEPTED SOLUTION
ribisht17
Super User
Super User

@Syndicate_Admin 

 

This is solved here Solved: Different number formats - Microsoft Power BI Community

 

Measure 2 = 
    VAR __Value = SUM('Table'[Column2])
RETURN
    SWITCH(MAX('Table'[Column1]),
        "one",FORMAT(__Value,"Percent"),
        "two",FORMAT(__Value,"##"),
        "three",FORMAT(__Value,"00.00")
    )

 

Thanks,

Ritesh

View solution in original post

3 REPLIES 3
ribisht17
Super User
Super User

@Syndicate_Admin 

 

Please mark the answer if it helped you so that it can help others as well

 

Regards,

Ritesh

ribisht17
Super User
Super User

@Syndicate_Admin 

 

This is solved here Solved: Different number formats - Microsoft Power BI Community

 

Measure 2 = 
    VAR __Value = SUM('Table'[Column2])
RETURN
    SWITCH(MAX('Table'[Column1]),
        "one",FORMAT(__Value,"Percent"),
        "two",FORMAT(__Value,"##"),
        "three",FORMAT(__Value,"00.00")
    )

 

Thanks,

Ritesh

Anonymous
Not applicable

i did not understand , please explain detailed 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors