Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
So I am having an issue with my Treemap. My other visuals such as a map, pie, bar chart all filter fine. I click on the category and it it changes all visuals to show only rows wich correspond with the category selected on that particular visual.
However, on my tree map I can't seem to get it to work. The main difference with the other visuals is that the treemap uses different columns with either 1 or 0. So around 10 columns with each 1/0. I tried changing this to True/False, actual names, changing 0 to null but nothing works. See picture with part of the columns representing these 1/0.
I'd like to click on a tile and have the dashboard show all rows that have a 1 in that cell.
Notes:
- Its only one table so there is no need for linking between tables
- Edit interactions makes no difference, would be weird as all the other visuals worked automatically.
Thanks in advance!
Hi @Anonymous,
So you mean to create a treemap visual to show all fields as the category which not equal to zero?
If that is the case, you can enter to query editor and do 'unpivot columns' on these value fields to convert them to attribute and value.
Unpivot columns (Power Query)
After these steps, you can create a tree map with attributes on the group, the value on value fields. (you can use the value field on filter to filter records that equal to zero).
Regards,
Xiaxoin SHeng
Yo can make a conditional measure like
Measure: If ( table(column) = 0, Blank (), table(column))
See you !
Thanks for the suggestion, im new to Power Bi so not entirely sure where to place the measure. Should I create one nested if measure and apply it to each visual or only the tree map?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
39 | |
31 | |
26 |
User | Count |
---|---|
97 | |
87 | |
43 | |
40 | |
35 |