Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm working on a qlikview application.I have a dimension called Quarter Year(Q1 2019, Q4 2018, Q3 2018 so on). There is bar chart which uses Quarter year as dimension. There is a filter month year(Apr 2018, Oct 2017 so on).
If I select month year as Apr 2018, then the quarter year dimension should display as Q2 2018. Suppose if I select May 2018, then the quarter year dimension should display as Q2 2018*. The start indicates the quarter is not complete. Means, the data is getting displayed for May and June(April not included).
How can I achieve this?
Note: we are not supposed to use calculated dimension in the front end. This logic should be done in the scripting and use the dimension directly in the front end.
Regards
Anusha L Hegde
@anushahegde wrote:
If I select month year as Apr 2018, then the quarter year dimension should display as Q2 2018. Suppose if I select May 2018, then the quarter year dimension should display as Q2 2018*. The start indicates the quarter is not complete. Means, the data is getting displayed for May and June(April not included).
I am not able to understand this part , can you please explain . It will be easier in front end still if you can describe the above it will be easier to help.
-Pradosh
Hi Anusha,
When you select feb 2019 you will only see the feb data is n't it ? It will be the same for all the month due to qlik's associative property .
If we don't go to the technicality then too it will be very hard to do that in the script as the label changes with selection and you can't really control that from the script.
I would say may be use getfieldselections() or something similar in the dimension to get this, Not sure this can be done in the script only.
-Pradosh