Forum Discussion
Matrix - measure or column for text?
PBIX file is here: https://drive.google.com/open?id=1Q4tEueE8QP3iJBgORrBX4o6ebXegpSG3
I have a matrix with different manufacturers as columns, different dates of events as rows, and event descriptions as values. When fully collapsed, I want the headers for each columns and date that have "sub"-data to be visible, but the matrix values themselves should be blank (because it will be showing rows by years rather than actual dates). When slicing by date, if a specific manufacturer didn't have an event on that date, I'd like that column header to hide. When slicing by manufacturer, if nothing occurred on a specific date, I'd like that row header to disappear. I've tried several measures and just using the column itself for values, but can't get to an algorithm that leads to desired outcome. Screenshots of three different matricies trying to accomplish this below:
SELECT ALL
DATE SELECTED
MANUFACTURER SELECTED
EVENT TYPE SELECTED
2 Replies
- lbendlin
Super User
Please check if you really want others to see this data ( create a separate pbix with sample/dummy data)
Please check your data model - there are lots of disconnected tables and inefficient relationships (for example the calendar and period tables should be combined
Please consider using the filter pane instead of on-page slicer filters.
- v-easonf-msft
Community Support
Hi, mrothschild
After my research, I don’t think you can hide column header where there is no data in this matrix visual.
Please kindly raise it to the support team for better advice, thanks a lot!
https://powerbi.microsoft.com/en-us/support/
Best Regards,
Community Support Team _ Eason