Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Naveen_BN
Frequent Visitor

Automatic drill down based on the slicer slicer selection to Next level

Hello Everyone,

 

I have a requirements, automatic drill down to next level based on the slicer selection or the visual should change based on the slicer selection

 

Slicers:- Region, District, Territory.

 

When user select the specific region in slicer, user should get the all the districts data in column chart and table.

Next level, When user selects the specific district in slicer , user should get all the territory data in column chart and table.

 

Do we have any options to get by Unioning the columns in the table or any other options.

 

Thanks in advance.

 

 

 

1 ACCEPTED SOLUTION

Hi , @Naveen_BN 

For your need , In Power BI , There is only "Drill through" meet your need , you can try to use it , i hope it can help you.

For more information, you can refer to :

Set up drillthrough in Power BI reports - Power BI | Microsoft Learn

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

View solution in original post

7 REPLIES 7
v-yueyunzh-msft
Community Support
Community Support

Hi , @Naveen_BN 

You can try to use "Fied Parameter" and update the "NAMEOF" in it. Then you can select the one level in the slicer , then show the next level you want in your visual.

This is my test data :

vyueyunzhmsft_0-1668576883169.png

We can create a "Field Parameter" :

vyueyunzhmsft_1-1668576915912.png

Then we can update the "Name of" according to our need :

vyueyunzhmsft_2-1668577038644.png

 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

 

Hi Aniya Zhang,

 

This works on the hierrachy level, if i select particular district. It should drill down to next level based on the specific district selection..

 

Thank you

Hi , @Naveen_BN 

For your need , In Power BI , There is only "Drill through" meet your need , you can try to use it , i hope it can help you.

For more information, you can refer to :

Set up drillthrough in Power BI reports - Power BI | Microsoft Learn

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

Thank you.

amitchandak
Super User
Super User

@Naveen_BN , Check if field parameter can help

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE

 

But in case you select a region say R1 then you want axis to be on the next level, I doubt that is possible.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi, a bit late to the party here, but I've just discovered that you CAN get the axis to change based on selection.

Create a measure in your Parameter table that returns True or False per dimension in the parameter, based on what's available in the current selections, e.g.:

 

Hub/Country Choice = IF(HASONEVALUE(Regions[Hub]),
    SELECTEDVALUE('Hub/Country'[Hub/Country Fields]) = "'Regions'[Country]", // returns True for Country field when a single Hub is selected
    SELECTEDVALUE('Hub/Country'[Hub/Country Fields]) = "'Regions'[Hub]" // returns True for Hub field if multiple Hubs are available
)


In the above example, I have a two-tier setup, with many Countries belonging to a single Hub. The above code will return True for only one of the two fields, depending on whether or not there is a single Hub available in the current selection. For multiple tiers, you can use multiple IFs or a SWITCH(TRUE(), ...) construction.

The final part of the solution is to add the [Hub/Country Fields] column to the filter pane. You may need to unhide this field via the table view. Then, make it a Top 1 filter by the measure you created, like so:

BenMcKenna_0-1724939259956.png


This way, since True is ranked above False, the one field that is chosen by your measure will be the one that the chart uses to display your data.

I hope this helps!

Hi Amith,

 

Thanks for the feed back. Am looking for the next level axis.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Solution Authors