Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Announcements
QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator III
Creator III

Chart with set dimensions with variables

Hi i need to do a Chart with setting dimensions with some variables; i wanna change my dimensions and expression at runtime changing my variables.

For example i have trhee Variables:  varone, vartwo, varthree

i wanna to change dimensions and selected expressions when i change the vars's values (for example with a listbox or bottons)

look at the picture

qlikvar.jpg

 

 

1 Solution

Accepted Solutions
Highlighted
Creator III
Creator III

Re: Chart with set dimensions with variables

Thanks this is an interesting idea, but in reality it not reply to my question.

But i tried something and i find the solution using this variable for example:

SET varFirDimension = 'DinFirDimension';

tableDynamicOne:
LOAD RecNo() as %ID,
SubField(string,'-') as DinFirDimension
Inline [
string
one-two-three-four
];

and in the dimension of my chart i use:  =$(='[' & $(varFirDimension) & ']') 

View solution in original post

2 Replies
Highlighted
Specialist II
Specialist II

Re: Chart with set dimensions with variables

check the appended .qvw for an idea how to solve that.

see tab "Reports"

regards

tim

Highlighted
Creator III
Creator III

Re: Chart with set dimensions with variables

Thanks this is an interesting idea, but in reality it not reply to my question.

But i tried something and i find the solution using this variable for example:

SET varFirDimension = 'DinFirDimension';

tableDynamicOne:
LOAD RecNo() as %ID,
SubField(string,'-') as DinFirDimension
Inline [
string
one-two-three-four
];

and in the dimension of my chart i use:  =$(='[' & $(varFirDimension) & ']') 

View solution in original post