Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
WEBINAR April 23, 2025: Iceberg Ahead: The Future of Open Lakehouses - REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
dwighttrumbower
Creator
Creator

Why is full year showing instead of date selected?

I have this formula SUM({<Year={'$(vPriorYear)'},Date={'<=$(vPriorYearDate)'}, Month=, Week=>}DealerCostUSD)

 

VPriorYear is 2024 and vPriorYearDate = 2024-04-11


If I filter on Year 2025, it sums all of 2024 instead of <= 2024-04-11.

Thanks

 

Labels (2)
1 Solution

Accepted Solutions
SRA
Partner - Creator
Partner - Creator

Hi,

Can you try with :

SUM({<Year={'$(vPriorYear)'},Date={"<=$(vPriorYearDate)"}, Month=, Week=>}DealerCostUSD)

Regards,

View solution in original post

3 Replies
SRA
Partner - Creator
Partner - Creator

Hi,

Can you try with :

SUM({<Year={'$(vPriorYear)'},Date={"<=$(vPriorYearDate)"}, Month=, Week=>}DealerCostUSD)

Regards,

dwighttrumbower
Creator
Creator
Author

I have tried that to with the same results.

dwighttrumbower
Creator
Creator
Author

There where a few issues, but solved thanks to SRA.