Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi guys,
I have a matrix visual which based on the slicer selection shows percent or values. The issue is formating values should be whole number, precent should have % .
The data model has the column with all values, and the column with type of value (percent, value, denominator).
Use dax to show values:
I have measures: KPI Value, KPI percent.
Is there way I can modify this formula so it can switch between precent and values and formating?
Many thanks!
Solved! Go to Solution.
If anyone have similar task, I've done it by using SWITCH and SELECTEDVALUE (based on slicer) then FORMAT (value).
Hi @Anonymous
I am so glad to hear that you have done it with your workaround . Please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Community Support Team _ Ailsa Tao
If anyone have similar task, I've done it by using SWITCH and SELECTEDVALUE (based on slicer) then FORMAT (value).
@Anonymous , if you are using measure slicer and want the format has to change, you need to use calculation group
calculation groups
https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/
Thank you @amitchandak
Unfortunately, due to company policies I don't have tabular editor or external tools in Pbi.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
17 | |
8 | |
7 | |
7 | |
6 |
User | Count |
---|---|
23 | |
11 | |
10 | |
9 | |
8 |