The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.