Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

condition in dimention

Hi

i have data table with fields: "Country", "Week", "Sale"

and i want to create expression like:

=sum({<Week={"=2011W01"},Week=>} Sales)

in this field i want to get data only in week = 2011W01 Another weeks must be = 0

please see attachment

if anyone know, pltase help.

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Just remove the "=" sign and the last filter.

Your expression should be like this.

Sum({<Week = {"20122W01"}>}Sales)

Cheers

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Just remove the "=" sign and the last filter.

Your expression should be like this.

Sum({<Week = {"20122W01"}>}Sales)

Cheers

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

thank you!