Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hi all
I have looked at previous posts about hiding /filtering out Zero columns in a Matrix
they all seem to suggest having a measure and the applying a filter to that but my Matrix has approx 50 columns
would I have to create a measure for every column?
The Matrix at the moment just shows the 50 columns with a count for about 10 rows for our different bases like
HUB | INC1 | INC2 | INC3 | INC4 | INC.... | INC50 | Total |
A | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
B | 0 | 1 | 0 | 0 | 0 | 1 | 2 |
C | 0 | 1 | 0 | 0 | 1 | 1 | 3 |
Total | 1 | 3 | 0 | 0 | 1 | 2 | 7 |
thanks
just tested, makes table easier to read removing all the Zeros but does not hide column from view if all blank still, INC3 and INC4 would still show but the zero are blanks
hope was to hide the unused columns as depending on slider selection, could be 30 + not needed making the table very unnecessarily wide
Hi @PaulDenne
The reason the values still show is because the measure is put into the table/matrix.
A workaround is that you need to use disconnected table measure, which should allow use a table for the values and if there are no values then it should not display.
Calculation Groups with Disconnected Tables in Power BI/AAS - FourMoo | Power BI | Data Analytics
thanks will try to have a look at that later today
WHat you could do is when you bring your data in, you could change the zero to null?
Null values are not shown by default in Power BI.
User | Count |
---|---|
36 | |
31 | |
20 | |
11 | |
8 |
User | Count |
---|---|
52 | |
43 | |
28 | |
12 | |
11 |