Forum Discussion
How to avoid aggregation of categorical data in Matrix Visual?
Hi,vicky1610
I am glad to help you.
Hello, you can use Unpivot to change the data after using the matrix to complete the target effect
Here are my test results for your reference
This is your existing data
You will need to move your data:
Select both the [Category] column and the [Date] column, and Unpivot the selection to the other columns
like this.
Here is the result
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous
Thank you for the response!
The approach you provided does not leads me to what I am trying to achieve.
I want the matrix to be look like this,
| Category | Type | Username | Date | Comments | Share | Likes |
| mem1 (3) | 1 | 2 | 0 | |||
| mem2 (4) | 1 | 2 | 3 | |||
| Total | 2 | 4 | 3 |
and the default selection of First/Last/Count etc. in column options for values is stopping me to achieve this.
Is there any way by which I can take direct value from source as it is or any measure can help?
- Anonymous2 years agoNot applicable
vicky1610
Unfortunately,if you want to put fields into values fields in the matrix, the data in this field is aggregated by default (as with measure) to show a scalar value, so if you don't want to use the default Values aggregation effect in the matrix, I recommend that you manually create your own measures as needed. However, for non-numeric fields, there are fewer aggregation functions available (max,min, etc).I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.