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
saris02
New Member

problem with share calculating

Hi!

 

I'm building a report on a PBI desktop sheet, 3 charts are needed: 1 for segment, 1 for manufacturer & 1 for brand share - at first all calculated from total sales, and then we can select just 1 segment and see the shares for manufacturers & brands in the selected segment.

My problem is, that there are around 100 brands alltogether, too much to show on a graph, so I put on a filter to only show the top 10. If I calculate the share from all products, then unfortunately the segment filter does not impact this calculation - share will be shown always from total category. And if I create a calculation that calculates the share from the selected products, then the calculation will take the top 10 BRN and the selected segment as total category.

 

Could someone please help how could I calculate share from a segment (all brands included), but still only show top 10 brands?

 

Many thanks in advance!

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @saris02,

Could you please offer me some sample data and your desired result or share the pbix if possible?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
TomMartens
Super User
Super User

Hey,

 

without some sample data and your measures it's difficult to provide some proper guidance.

 

But maybe you might consider separate Dimension/Lookup tables for Manufacturer and Brand (Product)

then using ALLSELECTED('ProductTable') might be of some help.

 

Regard,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

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
Top Kudoed Authors