Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
LP27
Creator II
Creator II

Displaying 6 months data in Bar chart

Hi Qlikers,

<Qlik Sense>

I have got Bar chart with Group as Store_Names, Bar as MonthYear and measure as Sum(Sales).

[MonthYear format is MMM-YY] in data.

I need to display only 6 months data in bar chart. Could some one guide me how I can do this and where i should write the expression and so on.

Note: I am new to Qlik Sense environment.

Thanks in advance,

LP

Labels (2)
1 Solution

Accepted Solutions
sunny_talwar

May be using set analysis

Sum({<MonthYear = {">=$(=Date(MonthStart(Max(MonthYear), -5), 'MMM-YY'))<=$(=Date(Max(MonthYear), 'MMM-YY'))"}>} Sales)

View solution in original post

1 Reply
sunny_talwar

May be using set analysis

Sum({<MonthYear = {">=$(=Date(MonthStart(Max(MonthYear), -5), 'MMM-YY'))<=$(=Date(Max(MonthYear), 'MMM-YY'))"}>} Sales)