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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
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.

Labels (1)
1 Solution

Accepted Solutions
kaushiknsolanki
MVP
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
MVP
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!