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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
wpf_
Post Prodigy
Post Prodigy

Hierarchy with different values for each level

@lbendlin

 

Hi you helped me yesterday with this post yesterday with hierarchy fields:

https://community.powerbi.com/t5/Desktop/How-to-group-data-further-when-it-has-already-been-grouped/...

 

I closed that question as solved because it solved it for the hierarchy fields.  But looking in more detail today, it gave unintended results, so I am opening a new question here, hoping you or someone else can help.  Even though I am able to group the locations of NY to EB and WB in the matrix now by introducing a new column, where my table looks like this now:

 
 
 

table.PNG

 

I was averaging the speeds for EB1, EB2, EB3, WB1, WB2 and WB3 from NY.  But by using EB and WB in the columns bucket in the matrix, the speeds are also averaged.  I actually wanted to add the avg speeds of each: For example: 

EB = Avg(EB1 ) + Avg(EB2) + Avg(EB3).  And same goes for WB.  What is the best way to do this?  LA and SF will be fine since they only have two directions. Thanks. 

4 REPLIES 4
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @wpf_ ,

 

was your problem solved?

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Yes i will close this. Thanks. 

amitchandak
Super User
Super User

@wpf_ , refer if this can help

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

 

Can you share sample data and sample output in table format?

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

@amitchandak 

 

I have created a sample pbix file in one drive.  Here is the link:  

 

https://1drv.ms/u/s!AkwCuDVUJER4gR6003JMfSUgPfls?e=BrECoU

 

 

Thanks. 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors