Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
Hi all,
I am trying to calculate the occupancy rate per hour per location. I have managed to do so using the following formula
Can anyone help me with this issue?
Kind regards,
Wim
Solved! Go to Solution.
@wimsangers , +0 forces left join.
I try this kind of measures in the past
0 between range
Measure = var _1= SUM(Opportunity[Opportunity count]) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))
Hi @amitchandak,
Two days ago you have helped met greatly by finding a solution to the problem mentioned above.
I have a follow up question on this, and I hope you can help me. I want to calculate how many hours there was an occupany rate of 100%.
I have tried it with the following measure:
@wimsangers , +0 forces left join.
I try this kind of measures in the past
0 between range
Measure = var _1= SUM(Opportunity[Opportunity count]) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
78 | |
76 | |
70 | |
49 | |
42 |
User | Count |
---|---|
56 | |
47 | |
33 | |
32 | |
28 |