Forum Discussion
occupancy
hello all
I am trying to calculate an occupancy report for the use of some resources, the final goal is to have how many days of the month the resource is used and also calculate the percentage of the month that the resource is used, so far I use the following measure, but the calculation is not correct, could you help me with that?
Any suggestions are really appreciated
Thanks in advance
marcoscruz , refer if this blog can help
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
2 Replies
- amitchandakSuper User
marcoscruz , refer if this blog can help
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. - marcoscruzNew Member
hello
yes, that works perfectly I used the following formula
Day by Month = CALCULATE(countx(SUMMARIZE(filter(CROSSJOIN('Data','Date'),'Date'[Date] >= 'Data'[StartDate] && 'Date'[Date]<= 'Data'[EndDate]),'Data'[id],'Date'[Date]),'Date'[Date]))thanks a lot