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.
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 | Saturday | Sunday |
Pierre Cardin | 7 | 7 | 7 | 7 | 7 | 0 | 0 |
Jean Reno | 0 | 0 | 0 | 0 | 0 | 10 | 10 |
I want to know
Pierre : 5 days
Jean : 2
I read some response here but I cant transpose the solution.
Thanl you in advance
Solved! Go to Solution.
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
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
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 |
---|---|
114 | |
100 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |