3, 1, 'TOTAL TIME SPENT IN A&E DEPT','ADMITTED', '95TH CENTILE', '<=04:00'
I then start looking at my in_line statement and start assigning data
concatenate
(Inline_Monthly_Data) loadautonumber
('TOTAL TIME SPENT IN A&E DEPT' &'#'&'ADMITTED' & '#' &'95TH CENTILE' &'#' & '<=04:00','Inline_Monthly_Key') asInline_Monthly_Key, MonthYearasInline_Monthly_MonthYear, [Total Wait]asInline_Monthly_Data_A, 'ED' asInline_Monthly_DataSource Resident main_data where 'MAIN_ED_PostQVD' = data_source and[Patient Admitted?]=1
and ED_Adult/Paeds = 'Adult'
;
I then have a pivot table which references the assigned auto number:
if (Level3_Month='95TH CENTILE',time(Fractile({<Inline_Monthly_DataSource={ 'ED'} >} Inline_Monthly_Data_A,0.95)/1440,'hh:mm')
I have been asked to provide a list box where the user can select between Adult/Paediatrics, so I thought I would simply need to add an extra line to the script (Highlighted) in red and then right the script again, but where ED_Adult/Paeds = 'Paediatrics'
For some reason my efforts have not worked. Based on the information provided can anyone help me get this right so the user can select Adult or Paeds from a list box?