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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need sheet to ignore filtering on other sheets

Hi,

I have a QVW with multiple sheets where the users can filter the data by selecting year and/or month.  In addition, I have a sheet that displays the organization’s KPIs.  I need to have the objects in the KPIs sheet ignore any filtering done on any of the other sheets.  I remember this being in mentioned in one of the Designer course I took but I can’t find any info on this.

Any help would e greatly appreciated.

1 Solution

Accepted Solutions
derekjones
Creator III
Creator III

Hi there

All you need to do is add a 1 inbetween the { and < in your set analysis in every expression of your KPI's e.g.see bold in the below example (you replace SetAnalysisConditionA=ExampleA with any condition you are putting in)

=Sum( {1<SetAnalysisConditionA=ExampleA>} KPIValue )

All the best

Derek

View solution in original post

6 Replies
Not applicable
Author

Hi,

You can detach the objects in your sheet (right click in the object) this will make the chart frozen in its current state

Regards!

derekjones
Creator III
Creator III

Hi there

All you need to do is add a 1 inbetween the { and < in your set analysis in every expression of your KPI's e.g.see bold in the below example (you replace SetAnalysisConditionA=ExampleA with any condition you are putting in)

=Sum( {1<SetAnalysisConditionA=ExampleA>} KPIValue )

All the best

Derek

Not applicable
Author

Hi,

Thanks for the feedback.  In my gauge chart I have this expression:

=firstsortedvalue({$<KPI={"Balance Sheet Leverage"},Updated={"<=$(=max(Updated))"}>} kpi_curr_val,-last_upd_dttm)
-
firstsortedvalue({$<KPI={"Balance Sheet Leverage"},Updated={"<=$(=max(Updated))>="}>} kpi_targt_val,-last_upd_dttm)

When I change it to this it does not appear as if it is ignoring the filtering done on other sheets.

=firstsortedvalue({$1<KPI={"Balance Sheet Leverage"},Updated={"<=$(=max(Updated))"}>} kpi_curr_val,-last_upd_dttm)
-
firstsortedvalue({$1<KPI={"Balance Sheet Leverage"},Updated={"<=$(=max(Updated))>="}>} kpi_targt_val,-last_upd_dttm)

derekjones
Creator III
Creator III

You need to lose the $ sign inbetween and just leave the 1. The $ sign represents the records of the current selection. The set expression {$} is thus the equivalent of not stating a set expression. What you have done is added the 1 to the $, $1 represents the previous selection, i.e. equivalent to pressing the Back button.

sum( {$} Sales )
returns sales for the current selection, i.e. the same as sum(Sales).

sum( {$1} Sales )
returns sales for the previous selection.

sum( {1} Sales )
returns total sales within the application, disregarding the selection but not the dimension.

Try the following...

=firstsortedvalue({1<KPI={"Balance Sheet Leverage"},Updated={"<=$(=max(Updated))"}>} kpi_curr_val,-last_upd_dttm)
-
firstsortedvalue({1<KPI={"Balance Sheet Leverage"},Updated={"<=$(=max(Updated))>="}>} kpi_targt_val,-last_upd_dttm)

swuehl
MVP
MVP

Hi,

if you select Updated field in another sheet, the above expression will take that into account too. {1} disregards the current selection, but I think you then again add the Updated field selection to your set (the part with max(Updated)),

Not really sure what you are after, but a similar question was just answered here:

http://community.qlik.com/message/137146

Regards,

Stefan

Not applicable
Author

Thanks to all who responded.  This is working.