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! Learn more

Reply
Kebas_Leech
Helper I
Helper I

Multiple Tables and two slicers

Hello Everyone,

 

I need to calculate a simple sum of the duration of a job. Thing is, the page as two slicers: one for selecting YEAR(SLICER 1) and the other for job location(SLICER2).

 

Table 1: Date

Table 2: Job&Locations

Table 3: Durations

 

The only relationships I seem to be able to create is a 1-to-many from Table 1[Date] to Table2[Date] and Table3[Date]

 

I tried different dax options but they all give the same result because they arent being filtered by SLICER2.

 

dax:

Measure1 = 
        CALCULATE(
            sum(Table3[Duration]),
            SUMMARIZE(
                Table2,
                Table2[Location],
            ),FILTER(Table1, SELECTEDVALUE(Table1[YEAR]))
    )

 This seems to be a relationship problem between table2 and 3, but i can only make many-to-many. Is there any workaround in dax?

 

Thank you all.

1 REPLY 1
FreemanZ
Super User
Super User

hi @Kebas_Leech 

Seems doable. Could you paste some sample data of the mentioned tables?

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.