Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
rtr13
Contributor III
Contributor III

Text box expression

Hi All,

I am currently trying to come up with an expression to create two call out boxes each that contains the Average Inpatient Census for the locations. This is the expression I am currently trying to use:

=NUM(SUM({<[AvgDailyCensusLocation]={'XYZ'}>} sum(AvgDailyCensusCount)/Count(VisitDate)),'##,##0')

With sum(AvgDailyCensusCount)/Count(VisitDate) being the expression to define the average inpatient census. 

I appreciate any input!

Thanks,

Rose

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Question is not clear? Perhaps this

=NUM(SUM({<[AvgDailyCensusLocation]={'XYZ'}>} Aggr(sum(AvgDailyCensusCount)/Count(VisitDate),Dim1)),'##,##0')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

1 Reply
Anil_Babu_Samineni

Question is not clear? Perhaps this

=NUM(SUM({<[AvgDailyCensusLocation]={'XYZ'}>} Aggr(sum(AvgDailyCensusCount)/Count(VisitDate),Dim1)),'##,##0')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful