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

Union of all values from 3 tables similar and relevant quantity based on DateTime

Hi all,

I have 3 table, called Ticket , Prouction and Sales as below with SKU, Quantity and Month/Date column.

 

Ticket
SKUQuantityMonth
A1102023-07
B1202023-07
E152023-07
A2302023-08
B2402023-08

 

Production
SKUQuantityDate
A1501-07-2023
A1212-07-2023
A1413-07-2023
B11101-07-2023
B1914-07-2023
C11013-07-2023
A22201-08-2023
A2812-08-2023
B21501-08-2023
B22512-08-2023

 

Sale
SKUQuantityDate
B11101-07-2023
D1812-07-2023
A22201-08-2023
A2812-08-2023
B21501-08-2023
B22512-08-2023

 

 

My requirement is to summarize all with Ticket, Monthly Production, Till Date Production, Monthly Sales and till date solutoin with Month and Date as Filter.

 

Monthly refers to sum of Ticket, Production and Sales based on Month selection.

Till Date refers to sum of Production and Sales till selected date in a month like below.

 

Month Filter: 2023-07Date Filter: 12-07-2023
Final Output     
 TicketMonthly ProductionTill Date ProductionMonthly SaleTill Date Sale
A110117011
B1202011110
E150000
C1010000
D100088

 

I am facing an issue in displaying all SKU and quantity when I make a relaitonship between 3 tables..

Need your guidance. Thanks in advance.

2 REPLIES 2
lbendlin
Super User
Super User

Use a disconnected calendar table for your slicers, and measures to calculate your values.

Hi, Thanks for the response.

My issue is when I make relationship between 3 table with SKU column and add

SKUTicketMonthly ProductionMonthly Sale

in a report from 3 tables, it filters SKU which are common in 3 tables because it doesn't allow One to Many relation with single direction filter between Summarized SKU table and other 3 tables SKU Column.

Summarized SKU table is a union of distinct SKU from all 3 tables. 

 

Let me know if anything is yet not clear.

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