Forum Discussion
sandraCortes
2 years agoHelper I
How to include general metrics in a matrix
Hello everyone, For a requirement the user wants to see several metrics dissagregated per week, so I used a matrix to achieve it and it works ok. However the user also wants to see general metrics i...
Anonymous
2 years agoNot applicable
Hi sandraCortes ,
I created some data:
It's not very clear about your data, I created the data myself to describe.
Here are the steps you can follow:
Way1:
You can just create a calculated column for Week.
Week = WEEKNUM('Table'[Date],2)
By placing them in the matrix field in the form of pictures, they can be grouped and compared:
Way2:
You can create two measure to place in Values
Dissagregated =
COUNTX(
FILTER(ALL('Table'),'Table'[Week]=MAX('Table'[Week])&&'Table'[general]="dissagregated"),[Week])Not dissagregated =
COUNTX(
FILTER(ALL('Table'),'Table'[Week]=MAX('Table'[Week])&&'Table'[general]="not dessagregated"),[Week])
If it doesn't meet your desired outcome, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly