Hi.
I have a requirement to create a report that produces First Available Interview Date, Median Point of Date between the first interview date and the 20th available interview date such that I would a report like:
(The image does not reflect the true values in the data but simply sample of what I want to archive.
Free Interview Date column in the table shows what date is free for interview booking against the specific interview room. Users want to see the first date of available interview appointment, the median Date between the first date available and the 20th available date and thirdly, the 20th Available free date for interview against any interview room.
My first column measure is:
First Available Interview Date =
CALCULATE (
FIRSTDATE ( ‘Interview Room’[Date] ),
‘Interview Room’[Free Interview Date] = 1
)
I get an error while trying to write the second measure. My code:
Midian Date between First and 20th =
CALCULATE (
MEDIANX ( ‘Interview Room’, ‘Interview Room’[Date] ), ‘Interview Room’[Free Interview Date] = 1 )
Please, I need help with the other two measures - Median Point between the first date available and the 20th available date and the 20th Available free date for interview against any interview room.
My file is attached.
I anticipate your help on this, please.
Thank you
Interview Slots.pbix (58.8 KB)