Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I need help prorating task hours by day (Daily Hours). I need this to be a measure and not a calculated column. I am pretty sure I am overcomplicating this and it is rather simple.
Task | Day | Total Hours | Daily Hours |
A | 1/1/20 | 8 | 4 |
A | 1/2/20 | 8 | 4 |
B | 1/1/20 | 2 | 2 |
Solved! Go to Solution.
Hi @shep123 ,
Check the below measure.
Measure = SELECTEDVALUE('Table'[Total Hours])/CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[Task]))
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @shep123 ,
Check the below measure.
Measure = SELECTEDVALUE('Table'[Total Hours])/CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[Task]))
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@shep123 , try a measure like
divide(calculate(max(Table[Total Hours]),allexcept(Table[Task])),calculate(count(Table[Total Hours]),allexcept(Table[Task])))
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |