Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SET ANALYSIS

Hi,

my customer want's to decide with a button, if Set Analysis is activ or NOT.

I wrote a formel like this

=



if ( v_Button_Vergleich = 1,

sum

( {$ < WirtschaftsJahr = {$(#v_Vorjahr)}, WirtschaftsMonat = >}
if( InYear (%Datum_Statistik,vMaxDate,-1,2) ), BRUTTOWERT_AT1)))

, //else



sum

( if( InYear (%Datum_Statistik,vMaxDate,-1,2) ), BRUTTOWERT_AT1)

is there a other way to do this?

Thanks a lot

puwo





2 Replies
Not applicable
Author

Hello Wolfgang,

please see the attached example.

The naming of the expression should be clear (Set Analysis or not).

Rainer

Not applicable
Author

Hi,

thanks for help, but I need the solution for a lot of objects and formulars.

Is it possible to activate or deactivate SET ANALYSIS with a button ??

Thanks...