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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
ChrisB7
Contributor
Contributor

Measure - Total and filter

Hi,

I would like to create a measure where I am finding the total for one dimension (or rather ignore another), but also to provide a filter. 

e.g. SUM( TOTAL <Dim1>, {$<IsCurrent={'1'}>}, Value) 

I am not sure if this is possible, or my syntax is just wrong, but help would be appreciated.

Thanks,
Chris

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Chris,

You are almost there.

Just removed commas.

SUM( TOTAL <Dim1> {$<IsCurrent={'1'}>} Value) 

Regards,

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 Chris,

You are almost there.

Just removed commas.

SUM( TOTAL <Dim1> {$<IsCurrent={'1'}>} Value) 

Regards,

Kaushik Solanki

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

Thanks Kaushik.

I believe, I also found a similar way to do it like the following.

SUM( {$<IsCurrent={'1'}, Dim1 =>} Value)

So setting the Dim1 = no restriction

 

Thanks again,
Chris