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
Xiaolong
Regular Visitor

Sum up multi connections and filter by slicer

Hello there community, 

I'm beginning to use PowerBI and I am reading the content for quite a while, which normally helps, thanks for that 🙂

But now I'm stuck and don't  know how to achieve my goal. First things first: 

I try to visualize and compare the delivered quality of our suppliers given a specified time frame. For this have 3 tables available in my data model:

Table 1 is a master table with dates. For every day of the year we get a varety of different other stuff as day of week, day of month, day of year, fiscal quarter etc. etc.  This table is used for filtering and displaying the relevant data.

Times (Mastertable)

Calendar dayFiscal weekCalendar monthetc.
02.05.20222022 - WK31May...
03.05.20222022 - WK31May...

 

Table 2 is a table where all deliveries are stored which we received and the relevant data here is: 

Deliveries (All)

Database KeyDelivery dateItemnumberQuantitiy ReceivedSupplier NameSupplier ID
X03.10.202112345615Supplier A10
Y05.06.202265432112Supplier B11

 

Finally I got table 3, which stores all data related to the defect reports we are creating in case we find something unusual to the products:

Defects (All)

Defect IDCreation DateAffected itemAffected quantitySupplier IDSome other stuff
AAA00104.10.2021123456410...
AAA00207.06.2022654321711...

 

Having this 3 tables I create another table from the "Deliveries (All)" Table where there are stored all suppliers with name and ID. This table looks the following, whereas blue values indicate calculated columns

Summary

Supplier IDSupplier NameTotal deliveredTotal rejectedReject rate
10Supplier A15426,66 %
11Supplier B12758,33 %

 

To get the values I do the following: 

 

 

Total delivered = 
CALCULATE(
   SUM('Deliveries (All)'[Quantity Received], 
   ALLSELECTED('Deliveries (All)'), 
   VALUES('Deliveries (All)'[Supplier ID]
   )
)

Total rejected =
CALCULATE(
   SUM('Defects (All)'[Affected Quantity], 
   ALLSELECTED('Defects (All)'), 
   VALUES('Defects (All)'[Supplier ID]
   )
)

Reject Rate = 'Summary'[Total rejected] / 'Summary'[Total delivered]

 

 

Now I have the following connections made: 

2023-01-18 10_54_31-Zeichnung1 - Visio Professional.png

 

Now, I've made up a bar chart with the Top 5 in Sum of deliveries, defects and the reject rate using the corresponding blue marked columns. To this page I added a slicer, which uses the Year from the hierarchy of 'Times (Mastertable)'[Calendar day]. As far as it  goes for the "Deliveries" table it seems to be fine the deliveries get updated and filtered by the slicer. Problem is: The bar chart for the "Reject rate" does not update according to the data in the table. For example: The reject rate for my highest supplier is somewhere ~30 % and the highest shown value in the bar chart is like < 10 %, while the slicers are blank (All is selected right?). And I do not know what to do, to get this one properly displaying and working. Even, selecting certain Years do not update any of the 3 charts at all, and I'm concerned somehow my given structure is not suitable to display what I want to. 

 

I hope someone can enlighten with a solution. 

 

Best regards,

Xiao

0 REPLIES 0

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.