Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi all!
I am working on writing Alt Text for the visualizations on my report. I have a table that looks similar to this on one page:
Question | Percent Pos |
Question 1 Text | 99.80% |
Question 2 Text | 99.20% |
Question 3 Text | 98.40% |
This table is already sorted (through the filters panel) to show the top 3 questions, ranked by the Percent Positive column (there are about 15 questions total). I've written this formula to get the questions ranked and it text format for the Alt Text:
Solved! Go to Solution.
CONCATENATEX is converting your values to text. Therefore, there are no options in the 'Measure Tools' tab of the ribbon which will help as, after the measure is calculated, Power BI is now just seeing the output as text, and not as a number.
What we need to do is use the FORMAT function inside your existing DAX to apply the right formatting. This will be something like replacing:
'Areas Final'[Percent Pos], ", ", [StrengthsPerc]
with
FORMAT('Areas Final'[Percent Pos], "0.00%" ), ", ", [StrengthsPerc]
More details on format in case you need to tweak the formatting:
https://learn.microsoft.com/en-us/dax/format-function-dax
CONCATENATEX is converting your values to text. Therefore, there are no options in the 'Measure Tools' tab of the ribbon which will help as, after the measure is calculated, Power BI is now just seeing the output as text, and not as a number.
What we need to do is use the FORMAT function inside your existing DAX to apply the right formatting. This will be something like replacing:
'Areas Final'[Percent Pos], ", ", [StrengthsPerc]
with
FORMAT('Areas Final'[Percent Pos], "0.00%" ), ", ", [StrengthsPerc]
More details on format in case you need to tweak the formatting:
https://learn.microsoft.com/en-us/dax/format-function-dax
Thanks so much for your solution! This worked perfectly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
83 | |
78 | |
54 | |
39 | |
35 |
User | Count |
---|---|
98 | |
80 | |
50 | |
48 | |
48 |