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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Ragged Hierachy Weightage Average (SUMPRODUCT)

Hello Hi,

 

I'm trying to achieve weightage average sumproduct calculations based on my data. The expected output should look like this.

fauziyahaya_0-1649981213898.png

I have created parent-child hierarchy for my data as per below:

1) Matrix View

fauziyahaya_1-1649981317395.png

2) Data

fauziyahaya_2-1649981367289.png

I have tried several guides from the internet but unfortunately failed to generate the output required.

 

I hope someone can assist me with this.

 

Best Regards.

 

Attached herewith is the pbix files.

Pbix Files 

 

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Anonymous I believe this YT video of mine is the answer to your question. Let's explore the underrated ISINSCOPE DAX function - What is it? How we can use it? - YouTube

 

and part 1 of this video Many Functions Same Result - Which one to use and Why? ALLSELECTED REMOVEFILTERS and VALUES - YouTube

 

 

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.

 

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

2 REPLIES 2
parry2k
Super User
Super User

@Anonymous I believe this YT video of mine is the answer to your question. Let's explore the underrated ISINSCOPE DAX function - What is it? How we can use it? - YouTube

 

and part 1 of this video Many Functions Same Result - Which one to use and Why? ALLSELECTED REMOVEFILTERS and VALUES - YouTube

 

 

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.

 

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Hi Mr Parry,

 

Thanks for your reply and video. I did manage to get the column of the weightage. I have another question. Below is my data. 

fauziyahaya_0-1649989821232.png

As you can see, the item starting with "CONC" is considered an activity and I have actual progress of that activity. For example, the first CONC is 100% and the data is queried from another table. How can I show the 100% but on the parent row (2.4.8.2 - Fabrication Main Deck) is the calculated value of SUMPRODUCT(activity, act_weightage). 

 

Is there any way to tell Power BI to show value on last-child based on table (since its ragged hierarchy) and calculated parent.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.