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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

The equivalent Dax version of Excel Sumifs

Hello!

 

In excel I have a SUMIfs. 

 

Col A is employee, B is week number and C is hours. 

 

In column D my sumifs would be:

 

SUMIFS(C:C,A:A,A2,B:B,B2) or sumifs(hours, employee column, A2,week number column, B2)

 

 

EmployeeWeek NumberHours
Dave14
Mark15
Jacob16
Dave26
Jacob15
Jacob24
Mark23

 

I am having desperate trouble replicating this formula in BI.

 

Any tips or help would be greatly appreciated.

 

Thanks

 

WATER

1 ACCEPTED SOLUTION
Anonymous
Not applicable

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

 

See if this post help out or at least can get you started:

https://community.powerbi.com/t5/Power-Query/Function-Excell-Countifs-in-Power-BI/m-p/708835#M23665

Anonymous
Not applicable

@Anonymous Hi Nick,

 

Many thanks for your help.

 

I was able to solve my issue with a variation of this formula:

 

CALCULATE(SUM(Table1[Hours]), FILTER(Table1, Table1[Employee] = EARLIER (Table1[Employee])), (Table1[Hours]),FILTER(Table1, Table1[Week Range] = EARLIER (Table1[Week Range])), (Table1[Hours]))

 

Many thnaks again

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.