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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
jctorres
Contributor II
Contributor II

show current month over historical data

Good afternoon, dear friends.

I'm looking for a way to implement the pre-invoices that will be charged in 2025 in my Dashboard, but show them as of the current date in my charts. For example, it's March 2024. So, in my charts, I can filter the measurements in the analysis set to the current month. However, I created a variable that contains this: Date(Addmonths(today(SCHEDULE_DATE),+1),'MM-YYYY')

Measure: sum({$<[MONTH_YEAR_NUM] = {'$(vCurrentDate)'},[Month_Year_Name]=,Month=>}TOTAL_AMOUNT)

The problem is that when I filter by any month other than the current one, it doesn't allow me to view the measurements in my charts.

Can someone tell me if this is possible or what function to add to my variable?

jctorres_0-1742944181113.png

 

I attach an example of how I have the history of my information.

Labels (1)
1 Reply
Bhushan_Mahajan
Creator II
Creator II

@jctorres Create your vCurrentDate variable based on ma scheduled date rather than today so if you select any date automatically t will work for that date as a max date.