#48 π Telling a story in Qlik Sense
π Telling a story or add dynamical Context in Qlik ?
Challenge succeed with the new Animator in Sense Sept 20
You know that I love Context and ways to add it in our apps
I also recently played with the Animator Object which allow to loop through dimension values
So I was wondering how to display measures dynamically π€
It's a bit tricky but working nicely actually. Could be used to really tell a story by displaying insights one after each
I had to store Expressions in variables, then load a table in the script, and call this variable in the front end π§ββοΈ
Download QVF
Sheet Animated Sheet Title
β How To β
Create variables like :
KPI_3 : =num(Sum(Sales),'#,##0')
List them and add an id and Label :
KPI:
load * Inline [
id_KPI, Expr, Label
1,KPI_1, π¨βπΌ # of customers is
2,KPI_2, π First city for Sales amount is
3,KPI_3, π° Total amount of Sales is
4,KPI_4, π€ Total profit is
5,KPI_5, π Profit rate is
];
The sheet Title expression is :
Label&' '& '$($(=Expr))'
That lot of π² isn't it? π
To display them in the text object, the syntax is a bit different π€―:
only({$<id_KPI={$(=id_KPI-1)}>}Label)
&' '&
'$(KPI_$(=id_KPI-1))'
Cheers π