The short answer is almost certainly "yes", but what are you actually trying to do?
FreakyHours := CALCULATE([TotalHours], ALL(Dept), MyTable[MyColumn] = 1)
I dunno what you have on rows that is showing "1" and "2"... but that is the MyTable[MyColumn].
I do not think this is exactly what you want but you can click on your pivot table, go on design tab, subtotal (bottom of the group)
Otherwise you have to refer to your pivot (new sheet with A1=A1, A2=A2,... and A11=A4 or wherever your total is)...if you move to this work around, make sure you inegrate all labels without data in your pivot, so that if department 11, which has 0 hours nows but might get 10 in a year, your pivot does not add a line (department 11 should show 0 now)
In your screen shot, what do you have on rows? I see departments, but what is above that? (the 1 and 2).
Cuz, I suspect you will have to throw an IF() around my measure to rest for the 1 vs 2?
IF (HASONEVALUE(dKontering[WEKategori]),
IF(VALUES(dKontering[WEKategori])=1,
... real stuff ...
)
)