Forum Discussion
Sum of values from same column
Hi Team,
Can someone help me acheive the below outcome in Table Matrix Visual. If i enable the column sub total it is counting the unique values which is not expected and the expectation is if i click on any value in the table matrix including the total , the other charts should change accordingly and this is not happening with measures. Note: I have A and B from the same column called "Services" and the values in the matrix are the unique count of computer names.
| Region | A | B | A+B |
| Andean | 10 | 11 | 21 |
| US | 2 | 5 | 7 |
| Brazil | 2 | 7 | 9 |
Also is there any way where i can have calendar instead of the drop down list that changes these values based on the date selection.
Anonymous why you are using distinct?
7 Replies
- Greg_Deckler
Community Champion
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 - parry2k
Super User
Anonymous can you share sample data and expected output. Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490- AnonymousNot applicable
Hi,
Thanks for your reply.
Please see the sample data
Computer name Services Region x A US y B Brazil z B Andean x A Brazil y A Brazil Expected Outcome
Region A B A+B Andean 0 1 1 US 1 0 1 Brazil 2 1 3 - parry2k
Super User
Anonymous try this in matrix visual
and measure would be simple dax expression
Measure = COUNTROWS( Table )I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!