Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 31 | |
| 28 | |
| 24 |