Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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 there.
When building a report, I had a number of values within the dataset that varied - some percentages, some decimals, others whole numbers. The only way that I could manage to get to display them all in a matrix was to use some SWITCH Dax...
Now I have found that because the Measure is formatted as Text, I'm unable to drop that Measure into the Value field of any chart.
When I try to drop in the original value, then generally incorrect values are output, as these were all decimals. So in the DAX example above,
'Guardian Score' outputs as a decimal, rather than a percentage.
What I need to be able to do is hopefully drop in a Measure to a value field that outputs the formats in the DAX above - can anyone advise a way of amending the DAX to achieve this, or suggest another method that would achieve the same result.
Example of how this is displayed in a matrix..
@Anonymous Once formatted as Text, you won't be able to use it in a Value field well of many visuals as those need to be numeric or an aggregation of a text column (first, etc.). Perhaps try custom format strings. All the formatting, none of the "change to text": https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
10 |