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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.