Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all, I have a Matrix Visualization that looks something like that, I have two end goal in mind which I'm desperate need of help with.
1)Row and column subtotal
If you look at the matrix visualization, if i enable the Row subtotal and Column subtotal, it does not actually sum the row and column up.
What is wrong with this / what can I do to work around
(The Matrix Visualization is plotted based on Operation Number in the first column and Equipment Number in the First Row, I do not want to sum these values, but only the measures field 'Actual Time')
2) How do I create a new column/new measure in the Matrix Visualization which give me the mean/ median for that row
For example under Operation Number 9990, we have multipl column of equipment No
Sample example:
Op No 222000 222111 2222222 222333 222444 222555 Total Mean Median
9990 50 40 50 30 50 30 250 41.667 50
For the column Mean & Median: If the values inside is 0 do not consider it
Thanks ! Really appreciate it if you can help me with this problem
Solved! Go to Solution.
Hi @ephramz
1. I think you add [Op. No.] in Row field, [Equipment] in Column field [Actual Time] measure in Value field in your Matrix visual. The incorrect result in subtotal should be caused by your logic of your [Actual Time] measure.
Here I suggest you to try to build a new measure based on [Actual Time] measure.
Actual Time with correct subtotal =
Sumx("Table you used to calculate Actual Time measure",[Actual Time])
Here is a similar post like your first question. This user wants show correct average in his matrix subtotal. If you want to get sum result, try sumx.
For reference: Measure not included in average calculation
2. You can build Mean and Median measures. But if you add these two measures into value field in your matrix. You will get result as below.
Sample example:
You see every Equipment category will be expand, this is based on your data model.
Here I suggest your to build a new matrix to show Total/Mean and Median values instead of add Mean and Median in your old matrix, if you don't want each Equipment category be expand.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ephramz
1. I think you add [Op. No.] in Row field, [Equipment] in Column field [Actual Time] measure in Value field in your Matrix visual. The incorrect result in subtotal should be caused by your logic of your [Actual Time] measure.
Here I suggest you to try to build a new measure based on [Actual Time] measure.
Actual Time with correct subtotal =
Sumx("Table you used to calculate Actual Time measure",[Actual Time])
Here is a similar post like your first question. This user wants show correct average in his matrix subtotal. If you want to get sum result, try sumx.
For reference: Measure not included in average calculation
2. You can build Mean and Median measures. But if you add these two measures into value field in your matrix. You will get result as below.
Sample example:
You see every Equipment category will be expand, this is based on your data model.
Here I suggest your to build a new matrix to show Total/Mean and Median values instead of add Mean and Median in your old matrix, if you don't want each Equipment category be expand.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1. most likely you specified the field aggregation as average rather than sum
2. you can add the same field to the values area multiple times, and each time choose a different aggregation type
If you want to exclude values from being considered, add a visual level filter.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
93 | |
82 | |
70 | |
64 |
User | Count |
---|---|
118 | |
106 | |
93 | |
79 | |
72 |