Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Help with a measure.

Hi

 

I have a measure for Occupancy per course as follows

 

Occupancy Forecast (%) =
DIVIDE(
SUMX('CTS Forecast Course Volume', [Forecast Total Attendees]),
SUMX('CTS Forecast Course Volume', [Capacity per Course] * [Trainer Ratio] * [Volume])
)

 

 

This gives me an Occupancy percentage per course (because of the SUMX) and I can summarize by month as each course is linked to a date table

 

I want to create a ytd measure of the same

 

I am using a custom ytd measure as our year ends 31/03 so for example 

 

YTD Forecast Total Attendeed = CALCULATE([Total Forecast Attendees],DATESYTD('DateMASTER'[Date],"31/03"))

 

where Total Forecast Attendees = sum(Forecast Attendees)

 

 

 

Any ideas on the YTD calculation needed for the Occupancy Forecast % YTD?

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Not clear.

Is this not working

YTD Occupancy Forecast (%)= CALCULATE([Occupancy Forecast (%)],DATESYTD('DateMASTER'[Date],"31/03"))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Not clear.

Is this not working

YTD Occupancy Forecast (%)= CALCULATE([Occupancy Forecast (%)],DATESYTD('DateMASTER'[Date],"31/03"))

Anonymous
Not applicable

Thanks Amit....for some odd reason i didnt consider it, was over complicating it in my brain

 

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors