Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

GetCurrentField in Set Analysis

Hi All,

We have a requirement, where in the expression, we have to ignore the dimension in the cyclic group in set analysis expression.

Suppose, the expression is sum({<dim1=>}vol), where the dim1 is present in cycle1.

So, we need something like -

sum({<GetCurrentField([cycle1])=>}vol)

We need it as there are around 6 dimensions, can anyone pls suggest.

Thanks & Regards,

MK

9 Replies
alexandros17
Partner - Champion III
Partner - Champion III

try with

sum({ $ <cycle1=>}vol)

Anonymous
Not applicable
Author

nope, doesn't work...

I tried sum({ $ <cycle1=>}vol)

sum({ $ <[cycle1]=>}vol)

sum({ $ <(cycle1)=>}vol)

nothing work....

Anonymous
Not applicable
Author

Hi

Try with '$' sign in set analysis as suggested by Alexandros17

Anonymous
Not applicable
Author

can you please provide link for same...

Anonymous
Not applicable
Author

Hi

Can you share sample application.

And you want to ignore dimensions in cyclic group ???

Your requirement is unclear for me .Can you please elaborate

Thanks

sauliusr
Contributor II
Contributor II

sum({<[$(=GetCurrentField([cycle1]))]>}vol)

Kushal_Chawda

try,

=sum({<$(vExclude)>}Sales2)

where vExclude = getcurrentfield([YourCyclicGroupName])

Anonymous
Not applicable
Author

This might work

Digvijay_Singh

Try this(replace group field with yours) -

=Sum({<$(=GetCurrentField(Year_Month))=>}Sales)