Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
rcorcoran
Creator
Creator

Max Month

  Hi

I am trying to get the current month as the YTD figure rather than a sum of the months to date.

The expression below is giving me a sum of Jan to current month even though i have max month in

Any suggestions would be great

Thanks

Rhona

=(Sum({$<[Physio Wait >12 wks]={20},ReferredMM={"<=$(Max(ReferredMM))"}>}ActualValue))

Sorry none of the suggestions seem to work they are all  still bringing up the total of the months??

Message was edited by: Rhona Corcoran

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

The correct sysntax is:

=(Sum({$<[Physio Wait >12 wks]={20},ReferredMM={'<=$(=Max(ReferredMM))'}>}ActualValue))

let me know

tresesco
MVP
MVP

Only for max month? Try:

=Sum({$<[Physio Wait >12 wks]={20},ReferredMM={"$(=Max(ReferredMM))"}>}ActualValue))

Note: Removal of the '<' sign.

its_anandrjs
Champion III
Champion III

Try with and put = sign on the expresion

=(Sum({$<[Physio Wait >12 wks]={20},ReferredMM={"<=$(=Max(ReferredMM))"}>}ActualValue))


Or



=(Sum({$<[Physio Wait >12 wks]={20},ReferredMM={"<$(=Max(ReferredMM))"}>}ActualValue))