Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
djallelsadki
Partner - Creator
Partner - Creator

Excluding dimension over expressions

Hi,

If any one can help

I have a combo chart with two dimension ( Time and an another one ) and two expressions

the second expression should only be related to the time dimension but not to the second one

I don't know if i'm clear or not !

Thanks,

D.Sadki

1 Solution

Accepted Solutions
Anonymous
Not applicable

may be this is an alternative...see Sheet1 in attachment. now, there are two options -

1. have 8 expressions in each of the two charts. - easiest to implement and shouldn't be too hard to maintain.

2. create a table with expression name and the actual expression in excel and read it in. then have a list box for expression name and you can update the two charts to display one expression at a time. easier to maintain.

edit: upon additional thought, i think option 1 is better as option to will need you to get a little creative.

View solution in original post

16 Replies
yduval75
Partner - Creator III
Partner - Creator III

For example if your second expression is country,

you have to put in your second expression to don't take into account country

Sum({<Country=>} Sales)

francoiscave
Partner - Creator III
Partner - Creator III

Hi Djallel,

Can you post an application with some test data and your chart? And if is possible your expected result.

It will be useful to resolve your issue.

Best Regards,

François

djallelsadki
Partner - Creator
Partner - Creator
Author

Hi,

thanks for your answer, but i tried this and it's not working,

this is my first graph

if i add a second dimension witch contain 3 values, i get this :

what i want is only 3 lines and only one bar on each day

Thanks

D.Sadki

stigchel
Partner - Master
Partner - Master

You can use the TOTAL key word to bypass dimensions so e.g.

Sum(TOTAL <YourDimension> Sales)

djallelsadki
Partner - Creator
Partner - Creator
Author

not working

thanks

stigchel
Partner - Master
Partner - Master

Did you use the correct dimension within the < >, it should be your first time dimension

Sum(TOTAL <Time> Sales)

djallelsadki
Partner - Creator
Partner - Creator
Author

yes

i get that

maybe the problem is on the first expression !

thanks,

D.sadki

djallelsadki
Partner - Creator
Partner - Creator
Author

what i need

n ( number of values in the second dimension) lines for the first expression

and only one bar for the second expression

i will try to post an application...

thanks,

D.Sadki

djallelsadki
Partner - Creator
Partner - Creator
Author

i post a qvw document

thanks for your help

D.Sadki !