Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
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
Solved! Go to Solution.
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
Please mark the answer if it helped you so that it can help others as well
Regards,
Ritesh
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
i did not understand , please explain detailed
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |