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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Display separate line per hierarchy selection in slicer

Hi All,

 

I need to design the line chart in the dashboard which shows the finalized count per Banner, per Region, and per Store by Dates.

 

I having the Hierarchy slicer which showing Banner, Region, and Store.

 

My problem here is that When I have selected the Multiple Banners, the separate line will be shown by each Banner, In the next Region level, when I have selected the multiple Regions, the separate line will be shown by each region, and when I have select Multiple stores, a separate line will be shown by each store.

 

Elsewhen all selected in Slicer It will be showing Only a Single line.

 

What I have tried, (legend will be Stores)

Default Value =
IF(COUNTROWS(DISTINCT(ALLSELECTED(Orgunit[Stores]))) < COUNTROWS(DISTINCT(ALL(Orgunit[Stores]))),
SUM(AutoFinalised[AutoNew]),
CALCULATE(SUM(AutoFinalised[AutoNew]),ALL(Orgunit[Stores]))
)

 

It showing Single Line for Banner and Region but works fine for Stores, If I use Banner instead of stores, then it works fine for Banner(Legend will be Banner)

 

Please help me to solve the issue.

 

Thanks

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , Can you share sample data and sample output.

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
Anonymous
Not applicable

Please find below the link to the dashboard

https://sparinformation-my.sharepoint.com/:u:/g/personal/atul_patil_sparinfosys_com/EQl4ad8CvwtNu6ek...

 

Here you can see the Slicer contains Banner, region, stores, and a line shart

 

Currently, it is showing a Single line for Banner and Region while selecting multiple banner and regions but works fine for stores(Separate line per store)

 

What I need: 

 

While we select multiple Banner from here, It should show separate line per Banner

While we select multiple Regions from here, It should show separate line per Region

While we select multiple Stores from here, It should show a separate line per Store.

 

 

Thanks

 

@Anonymous - I downloaded your PBIX. I don't really think that is possible unless you radically change your data model to something like that found here: https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-EVERYTHING-measures-axis-legend-titles-chart-types/m-p/1027881#M444

 

Even then, not certain. You might have to use buttons and bookmarks to switch between charts for different granularities.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Community Champion
Community Champion

@Anonymous - Sorry, having trouble following this. Maybe sample data and some screen shots would help.

 

Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.