Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to develop a timeframe feature in an app. The feature needs to be used as a dimension in line charts and bar charts.
The base dimension for this feature is a date field. The feature should allow the dimension to be changed from Year, to quarter, month, week and day.
The feature needs to be present in the form of a slider so that the user can choose dimension in forward as well as backward direction. The chart using the Timeframe as a dimension should display all levels of hierarchy for the date as per the selection made by the user.
Could someone please help
This seems far outside the bounds of anything that exists within the native app, so you'll likely need to develop your own extension for this.
Hi,
Is there a way to build something similar? Maybe some kind of a workaround using master calendar or something?
I think everything is already there - at least to provide the mentioned information. In regard to the layout and the user-experience you might be not able to get a 1:1 replication but it mustn't be worse else it might be even better.
The common approach for such scenarios is to use dimension-groups. In QlikView are cyclic- and drill-groups native available but in Sense AFAIK only the drill-group (but there are also workarounds to emulate cycling-groups).
Beside this the object-dimensions could be also controlled per variables or selections, for example by using an island-table for the navigation like:
t: load pick(recno(), 'Year', 'Month', 'Week') as Period autogenerate 3;
which is then provided within a list-box and the dimensions of the charts and/or appropriate selection list-box for the period-values is then simply:
$(=maxstring(Period))
Hi @marcus_sommer
Could you please let me know the workaround to emulate cyclic groups in Qlik sense?
I have tried the drill down approach but it doesnt exactly work. The dimension needs to be a bit of both honestly. Cyclic as well as drill down.
Any help would be appreciated.
Here an example for a workaround:
https://community.qlik.com/t5/Qlik-Sense-Documents/Cyclic-Groups-in-Qlik-Sense/ta-p/1763172
which could be probably extended to get a mix and/or a nesting of dimension groups which are in no way native provided.