Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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 II
Specialist II

@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!