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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to clear all on Set Analysis

Dear all,

I have a QV with a comparative specific chart.

I want to do a set analysis clearing all selected filters.

Is any way to do that without put all fields on analysis.,

Thaks a lot for your help.

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

HI,

    Ok then you can try this.

    Sum({1<Year={"$(YFROM)"}>}Values)

    This expression will consider only the filter which you have specified.

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

5 Replies
swuehl
MVP
MVP

Hi,

I think you just need a set identifier {1} then?

like in

=sum( {1} Value)

Regards,

Stefan

Not applicable
Author

Dear Stefan,

it works to clear all selections, but if i want to clear all and add manually a new one on set analysis it doesn't work

I want to do something like

{$<1,[YEAR]={'$(Var1)'}>}

Best regards

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     If you can do like this.

     sum({<Field1 =, Field2= , Field3=, Year = {"$(Var1)"}>}Value)

     Include all the filters. in above expression.

     If you just want full sum with respect to only year then you can try this.

     sum(total <Year>Value)

     Hope this will help you.

Regards,

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

Dear Kaushik,

I know this way, but it's not the way that I'm looking.

I want to clear all selections without put every field on list.

Imagine that I have near 100 selected fields on a document.

I dont want to put every field on set analysis, I'm looking to clear all and put dessired ones.

On your second example, imagine that i have selected month, on that example month is still selected, but i want to deselect.

=numericcount({$<[YEAR]={"$(YFROM)"}>} TOTAL [SECUENCIA])

Best regards.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

HI,

    Ok then you can try this.

    Sum({1<Year={"$(YFROM)"}>}Values)

    This expression will consider only the filter which you have specified.

Regards,

Kaushik Solanki

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