Forum Discussion
Milozebre
Helper V
8 years agosum if
Good morning Community, I try to make a sum if with column. I have a table with name, days and how many hours the guy work per day. Nom Monday Tuesday Wednesday Thursday Friday ...
- 8 years ago
Hi Milozebre,
You should unpivot tables first in Query Editor mode.
Then, new a measure as below.
Count working days = CALCULATE(COUNT(Table_1[Weekdays]),Table_1[Value]>0)
Best regards,
Yuliana Gu
v-yulgu-msft
Microsoft Employee
8 years agoHi Milozebre,
You should unpivot tables first in Query Editor mode.
Then, new a measure as below.
Count working days = CALCULATE(COUNT(Table_1[Weekdays]),Table_1[Value]>0)
Best regards,
Yuliana Gu
Milozebre
Helper V
8 years ago