Forum Discussion
Row Aggregation in Matrix Visual
- Anonymous3 years ago
Hi yashwant101 ,
Please try to create a new column firstly, then add it into Matrix row.
Please try below steps:
1. below is my test table
Table:
2. create a new column with below dax formula
Sum_score = VAR a = [Outlet] VAR tmp = FILTER ( 'Table', [Outlet] = a ) VAR val = SUMX ( tmp, [Stores] ) RETURN val3. add a matrix visual with table fields
Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi yashwant101 ,
Please try to create a new column firstly, then add it into Matrix row.
Please try below steps:
1. below is my test table
Table:
2. create a new column with below dax formula
Sum_score =
VAR a = [Outlet]
VAR tmp =
FILTER ( 'Table', [Outlet] = a )
VAR val =
SUMX ( tmp, [Stores] )
RETURN
val
3. add a matrix visual with table fields
Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.