Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
akraman
Contributor
Contributor

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
Specialist

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