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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
akraman
Contributor II
Contributor II

Master Item over set date ranges

Hi all,

I am looking to have a Master Item that takes two fields [Revenue]/[Business Days], calculated over a two sets of date ranges.  My idea was to create four variables (vStartdateA, vEndDateA, vStartDateB, vStartDateB) and have a separate master item that covers these date ranges and the calulation master item but I am unclear on the correct syntax or approach. I tried variations of this without success: SUM({<SaleDate={'>=$(vStartDateA)','<=$(vEndDateA)'}>}[Daily Run Rate])

Labels (3)
1 Reply
MatheusC
Specialist III
Specialist III

@akraman 
Try adjusting your syntax in set analysis:

SUM({<SaleDate={">=$(vStartDateA)<=$(vEndDateA)"}>}[Daily Run Rate])

- Matheus

Did you find a solution to your question? Mark the solution as accepted ✅ and if you found it useful, press the like button!