Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi @DevadathanK
Kindly check this one?
Week 1 Efficiency = DIVIDE([Week1],[Hours]*(5-[Measure]))
Sample attached.
Hi @DevadathanK
Please kindly let me know if you'd like to get below results:
Measure for the number of days the person is on leave in week1:
Measure = CALCULATE(SUM('Table (2)'[Days]),FILTER(ALL('Table (2)'),[To Week No.]=1&&[From Week No. ]=1),VALUES('Table (2)'[Employee ID]))
Calculated column for Week 1 Efficiency
Week 1 Efficiency = DIVIDE([Week1],[Hours])*(5-[Measure])
Pbix attached.
Hey @v-diye-msft
Thank you very much for trying to help me out!
<Message deleted>
I shall try out some other calculation algorithm, using the Measure functionality as you suggested.
Hi @DevadathanK
Kindly check this one?
Week 1 Efficiency = DIVIDE([Week1],[Hours]*(5-[Measure]))
Sample attached.
This works out well @v-diye-msft Thank you!
However when the Leaves applied become more complex, spanning multiple weeks, it brings out other challenges.
Since you have answered this post, i have made a separate post for addressing the other issues.
Please have a look if you get time!
Thanks again!
So, try using RELATEDTABLE instead of RELATED. You should be able to do something like FILTER(RELATEDTABLE(...)...)
User | Count |
---|---|
98 | |
90 | |
77 | |
71 | |
64 |
User | Count |
---|---|
114 | |
98 | |
96 | |
68 | |
67 |