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.
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(...)...)
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 |
---|---|
95 | |
94 | |
80 | |
71 | |
64 |
User | Count |
---|---|
120 | |
105 | |
99 | |
81 | |
72 |