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.
Hey Everyone,
This seems like a very easy question. I have a table with few fields like "Resource type", "Resource Temporary Worker (Yes/No)", "Person Hours", "Utilization basis hours". I then created 2 measures:
1) Billable Hours = calculate(sum([Person Hours]), Resource Temporary Worker (Yes/No) = "No")
2) Billable Utilization % = divide([Billable Hours], sum([Utilization Basis Hours]), 0)
I need to create a new measure which returns the "Billable Utilization %" but wherever the Resource type = "Billable Employee", it should return 100%
I tried to write a measure with an if statement like the one below but the resource type field is invalid :
Measure= IF(Resource Type = "Billable Employee",1,Billable Utilization %)
I also tried creating the fields as columns but the numbers are way off.
Here's a link to the sample file:
https://drive.google.com/file/d/14OxBD1NMUBAHnwFU5OmcjTdi7EeR8K5a/view?usp=sharing
Any help is appreaciated. Thanks!
Solved! Go to Solution.
hi
hi
This worked! Thank you so much!
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 |
---|---|
110 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |