Forum Discussion
EvdMink
5 years agoNew Member
Calculate incomplete week data
All,
I am trying to calculate the incomplete week per person. An incomplete week is when the booked hours is less than contract hours. Therefore I created a measure.
Incomplete weeks = if([weektotaal uren]<[Contracturen personeel],1,0)
Use the matrix table per week by person the above is not calculating the row and column totals, like in a pivot table in Excel
Please give me some advice.
Oh I see,
Try amending your measure as below:
IncompleteWeek = COUNTROWS(FILTER('YourTable',IF('YourTable'[Booked]<'YourTable'[Contract],1,0)))This should work
4 Replies
- PC2790Community Champion
Oh I see,
Try amending your measure as below:
IncompleteWeek = COUNTROWS(FILTER('YourTable',IF('YourTable'[Booked]<'YourTable'[Contract],1,0)))This should work
- EvdMinkNew Member
Thanks a lot. This is working!
- EvdMinkNew Member
hi,
Thanks for the comment. However, I don't get the drop down as shown.
Thanks again.