Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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)
Employee | Week Number | Hours |
Dave | 1 | 4 |
Mark | 1 | 5 |
Jacob | 1 | 6 |
Dave | 2 | 6 |
Jacob | 1 | 5 |
Jacob | 2 | 4 |
Mark | 2 | 3 |
I am having desperate trouble replicating this formula in BI.
Any tips or help would be greatly appreciated.
Thanks
WATER
Solved! Go to Solution.
@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
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 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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
24 | |
20 | |
15 | |
12 |
User | Count |
---|---|
55 | |
48 | |
43 | |
19 | |
18 |