Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
hschultz
Partner - Creator
Partner - Creator

Excluding specific Dimension

Hi all

I have a scenario where we need to have selections, but the chart breaks if a speciffic selection is active.

There is an example attached:

We need to be able to select on the available boxes for Customer & Month, but then, because there is no link to the employee, selecting it does not display our budget anymore.

I know you can use set analysis for excluding all selections, but we do want to be able to pick Month & Customer

So the question is if there is a way to force a colum (Budget) to bring values according to selections, but exclude certain selections, like Employee in this case?

Thank you for the assistance.

1 Solution

Accepted Solutions
sujeetsingh
Master III
Master III

Hi,

Please use this as expression

=sum({$<Employee=>}Budget)

hope it is welll

Do reply...

View solution in original post

9 Replies
sujeetsingh
Master III
Master III

Hi,

Just use following expression for Budget

sum({$<Employee=>} aggr( Budget , Month,Customer,Budget))

Hope it works!

hschultz
Partner - Creator
Partner - Creator
Author

Unfortunately that doesn't work

sujeetsingh
Master III
Master III

Why are you using aggregate

??

sujeetsingh
Master III
Master III

Hi,

Please use this as expression

=sum({$<Employee=>}Budget)

hope it is welll

Do reply...

hschultz
Partner - Creator
Partner - Creator
Author

For the month's to combine the sum accordoing to selection.

*Please note this is an example from a bigger model, and we originally tested normal sum() but it didn't calculate correctly

hschultz
Partner - Creator
Partner - Creator
Author

Yes this works fairly well, and in fact i think as well as it's going to...

But the core functionality of QV kind of negates what i'm trying to achieve, because then the month's available goes according to the employee selected.

Thanks for the response though, i will test a few settings with what you have given me.

sujeetsingh
Master III
Master III

If all going well then just End up the thread...by the "correct answer" title.

You are welcome.

hschultz
Partner - Creator
Partner - Creator
Author

Will be testing a few more settings, then i will respond appropriately. But you have been helpful so far thank you

sujeetsingh
Master III
Master III

No issue..