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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
wildmight2017
Advocate II
Advocate II

Building charts with custom/mixed granularities

Good morning fellow PBI practitioners!

 

I wanted to check if it's possible to have a line chart with mixed granualrity - for instance:

 

a) average country level vs average regional level vs 2-3 selected city levels

 

(i know I could create calculated columns - but if I have multiple cities - it's too many) - Ideally, I would like to select items on slider/selector. However, what happens by default is that they values just add up (for instance, if I select 3 cities, I get their combined average instead of 3 separate lines) - also currently default line view does not seem to allow mixing hierarchy levels.

 

I'd appreciate any pointers.

 

Thank you

 

 

 

2 REPLIES 2
Greg_Deckler
Super User
Super User

Woud need to see some sample data. You can build your own hierarchies in Power BI but it is going to depend on your data. See:

 

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Good morning - here's the sample data!

 

The hierarchy is built already - under Dim Group - but I don't see a way to display multiple levels under Legend. It only allows input of 1 category. Ideally, I'd like to compare sales of CA to 1 location such as NYC or compare Region sales to a location sale. Please let me know if you need further clarifications. Attachment is here: Sample pbix 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.