Forum Discussion

Dheeraj_Trek's avatar
Dheeraj_Trek
New Member
1 year ago
Solved

Power Bi Treemap Visualization

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 Ca...
  • Jai-Rathinavel's avatar
    1 year ago

    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

     

  • Jai-Rathinavel's avatar
    Jai-Rathinavel
    1 year ago

    Dheeraj_Trek yes possible, you can use the same field parameter for a table visualisation