This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
Is it possible to make the category field of treemap visualization to change based on the slicer?
I've created a DAX measure with the SWITCH function to toggle based on the slicer but the Category field of treemap visual is not accepting this DAX measure.
Solved! Go to Solution.
@Dheeraj_Trek , You can create a Field Parameter and pull that into the category field of the Tree Map visual like below
1. Select the field parameter
2. Drag the columns you want to switch between, in my case Country and Product and Click Create
3. Map the Parameter to Category field of Treemap and use the slicer to switch between the fields.
Did I answer your question? If yes, please mark my post as a solution.
Thanks,
Jai
Proud to be a Super User! | |
@Dheeraj_Trek yes possible, you can use the same field parameter for a table visualisation
Proud to be a Super User! | |
@Dheeraj_Trek , You can create a Field Parameter and pull that into the category field of the Tree Map visual like below
1. Select the field parameter
2. Drag the columns you want to switch between, in my case Country and Product and Click Create
3. Map the Parameter to Category field of Treemap and use the slicer to switch between the fields.
Did I answer your question? If yes, please mark my post as a solution.
Thanks,
Jai
Proud to be a Super User! | |
Hi Jai,
Is it possible to link another table visualization with this same slicer created with the above field parameter?
@Dheeraj_Trek yes possible, you can use the same field parameter for a table visualisation
Proud to be a Super User! | |
Thanks Jai!
It works perfectly as I expected.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 37 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 39 | |
| 33 | |
| 24 | |
| 23 |