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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
NavinReddy
Creator II
Creator II

how to restrict to show only 3 Quarters on chart

Hello All,

On based on Current selection i want to display data on bar chart 3 quarters,

i have tried i am not able to resolve the issue .

Please help me, i have attached the sample data.

Thanks in Advance

Niranjan

1 Solution

Accepted Solutions
andrey_krylov
Specialist
Specialist

5 Replies
andrey_krylov
Specialist
Specialist

If 3 last quarters try this

NavinReddy
Creator II
Creator II
Author

Hi Andrey,

But on expression its not working for me, i can see 96 open issues but im getting current Quarter total 1 count.

please suggest me if any changes on expression.

Thanks in Advance

Niranjan

andrey_krylov
Specialist
Specialist

Maybe this

NavinReddy
Creator II
Creator II
Author

Thank you very much for your help

Could please help me with logic

andrey_krylov
Specialist
Specialist

Hi Niranjan. I've slightly corrected  the variables

vLast3Qarter        =QuarterStart(Max(Date), -2)

vYourMaxDate     =Max(Date)

If you need 3 last quarters relative to today then change Max(Date) with Today()