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

Sumif equivalent with several filter arguments & across tabels

Hello,

 

we work with employees' time data and need to create a relationship between the periods in addition to the relationship between the Local Personnel ID.

Unfortunately, this is not possible in the model. As a solution, we would like to add a sumif-function to the data model.

However, this function must allow several filter arguments (period, Local Personnel ID, time type (f.e. sickness)).

However, the sumif-functions I allready know only allow one filter argument.

 

CALCULATE(SUM('PTBAL00- Zeitkonten'[Anzahl Stunden]),FILTER(ALLSELECTED('PTBAL00- Zeitkonten'),'PTBAL00- Zeitkonten'[Local Personnel ID]=EARLIER('WFM alle Standorte'[Local Personnel ID])))

 

SUMX(FILTER('PTBAL00- Zeitkonten', 'PTBAL00- Zeitkonten'[Local Personnel ID]='WFM alle Standorte'[Local Personnel ID]),'PTBAL00- Zeitkonten'[Anzahl Stunden])

 

 

The aim is to have another calculated column in the "WFM all locations" table, which is calculated from the "PTBAL00 time accounts" table. In addition to the filter [local personnel ID], we also need a filter for time type and period.

 

Does anyone have an idea for a suitable function?

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @telsweil93 

 

Can you provide some sample data or simple pbix files? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@telsweil93 , Nor very clear to me. See if these can help

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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