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.
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])))
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 |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |