This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi all,
I have an issue on Matrix Table. I want to create an new Matrix table with dividations beetween columns. I made them with New Column, but my issue is that the Category summarize the column results and it is wrong. Attached you will find a sample of my data on the matrix.
So an example:
For April, SEG "A":
- aa:
- AAA: 401/1163 = 0.34
- BBB: 762/1163 = 0.66
- bb:
- AAA: 40/113 = 0.35
- BBB: 73/113 = 0.65
So Total for AAA must be 441/1276 = 0.35, not (401/1163 = ) 0.34 + (40/113 = ) 0.35 = 0.64 and Total must be 0.48 = 1276/2627 not the Sum of AAA (SEG "A") + BBB (SEG "A")
Thank you,
cvarvar
Hi @cvarvar ,
If the [customers] is a column, please use SUM([customers]) instead.
If it doesn't work, please share some sample data in table format.
Best Regards,
Jay
@cvarvar , assume the value of aa and bb is sub Seg , then create a measure like
divide([measure], calculate([measure], removefilters(Table, Table[Sub SEG])))
Percent of SubTotal or Total: https://www.youtube.com/watch?v=6jTildcV2ho&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=37
Thank you for your answer.
There is an error here:
The field CUSTOMERS is numeric filed and it came from the base DB that is aggregated (CUSTOMERS = SUM(Record_Count))
Thank you.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 33 | |
| 25 | |
| 23 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 27 | |
| 22 | |
| 22 |