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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
nagasekhar
Contributor III
Contributor III

Previous month sales

How will I get December sales value (2020) if I select January as month(2021)

2 Replies
settu_periasamy
Master III
Master III

Hi,

If you have YearMonth in your calendar table, You can use Date(AddMonths(Today(),-1),'YYYYMM') in your set expression.

AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

@settu_periasamy  suggested correct.

If you have any sample data or scenario, we can help you in better way.

 

Thanks,

Ashutosh