Forum Discussion
Visual "Matrix" with data in cells
- 8 months ago
Hi JellyFish310
Add a column that ranks your criteria within their own group and org. Add another column to repeat an invisible character based on those rank numbers - this will be used as the column header.
Index Within Group Org = RANKX ( FILTER ( 'Table', 'Table'[Group] = EARLIER ( 'Table'[Group] ) && 'Table'[Org] = EARLIER ( 'Table'[Org] ) ), 'Table'[Criteria], , ASC, DENSE ) ------------------ Invisible Index = REPT ( UNICHAR ( 8203 ), 'Table'[Index Within Group Org] )Please see the attached pbix.
- 8 months ago
the index/rank approach will put the criteria into individual cells. there is a pbix attached in my first response.
Hii JellyFish310
Power BI does not support a matrix with a variable number of columns per row.The recommended approach is to keep the data in long format and use a Table visual with a DAX measure that concatenates criteria horizontally per Group/Team. Conditional formatting can be embedded in the measure (or via SVG) to reflect status. This solution works with slicers and avoids unsupported matrix behavior.
- JellyFish3108 months agoFrequent Visitor
Thanks, that's what I was expecting.
I know how to concatenate the data in a measure, do have any resources on how to conditional format within that measure (the non-SVG way)?