Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
Vinod
New Contributor III

How to disable previous month data

Hi All

In my dashboard it is displaying current year and all months data but i want to display only current year and current month data, If I select the current year and any previous month it should show "No data to display" error message.

Thanks,
Vinod

Labels (1)
1 Reply
Claudiu_Anghelescu
Contributor III

Re: How to disable previous month data

1. Properties on your chart -> General -> Calculation Condition:
Year=2019 and Month='May'

(maybe you use variables for CurrentYear and CurrentMonth)

2. Below in the same window -> Error Messages -> Calcualtion condition unfulfilled -> insert your message 'No data to display'
To help community find solutions, please don't forget to mark as correct.