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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have more than 15 columns in my "table" reoprt with text values and I would like the "Total" row to show their sum. As this:
ID | XY | YZ | YT | TT | Count |
1 | XY | YT | TT | 3 | |
2 | XY | YZ | YT | 3 | |
3 | YT | TT | 2 | ||
Total | 2 | 1 | 3 | 2 | 8 |
Using option count just replaced the text with "1" but I would like the text to remain and have the total at the bottom. Can you somebody pls help?
Thanks
Hi @Merleau ,
At present only way I can think of is by creating measure for each column.
Measure for column TT =
Was there ever a solution for this ?
you may try this
Measure = if(HASONEVALUE('table'[col]),max('table'[col]),count('table'[col]))
max of column with one value will return the col value itself and for totals, it will show count. Hope this helps.
hey @Greg_Deckler,
I have a similar issue i referred the following links and could'nt come up with a solution. can you please help me regarding this.
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Also, this might help as well. https://community.powerbi.com/t5/Quick-Measures-Gallery/Matrix-Measure-Total-Triple-Threat-Rock-amp-...
Thank you Greg for the quick response.
I read the different links.
I will try to apply it but I am not sure how I can do that with my 20+ columns with text values that need a Total.
Thanks again
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |