Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Creating a filter for single sheets in addition to the global filter

Hello,

maybe someone can help me here.. at least i'm currently going crazy.

So i have a report with multiple sheets and one sheet for global filters.

The global filters are the main filters for all sheets.

However, since each sheet is standing for one department i want to have an additional filter for each sheet.

Example:

The sheet with the view of department A should show only the data of department A.

The sheet with the view of department B should show only the data of department B.

The data is seperated by the Dimension "FOLDER_NAME".

is there somehow a way where i can set a default filter that is set to FOLDER_NAME='Department_1' ?

Hopesomeone can help me...

12 Replies
Not applicable
Author

Hi Susanne, You can use sheet level triggers for this. You can have the relevant department condition on the sheet trigger so that the data filters to the respective department in the sheets.

Thanks,

Ram

Not applicable
Author

Hey,

thanks for the quick reply. I'm pretty new with QV. Can you send an example please or guide me where to do this?

Susi

Not applicable
Author

Goto Sheet Properties. Go to Triggers tab.

Click on Add Actions under "On Activate Sheet"

Click on Add

Select "Action Type" as "External"

Select "Action" as "Set Variable"

and finally set the condition as shown in the attachment.

Do the same for all the other sheets with different departments.

Thanks,

Ram

Not applicable
Author

Hey Ram,

thanks for this but somehow the numbers still do not change according to the filter i set.

Nothing is happening when i leave and activate the sheet.

BR

Susanne

Not applicable
Author

it should work and I've been using triggers of similar scenarios. Can you post the sample app, if you can't can you at least post an image of your trigger condition?

Thanks,

Ram    

Not applicable
Author

Unfortunately i can't share the sample app.. but here is the screenshot.Trigger.jpg

Not applicable
Author

sorry, my mistake. Delete the trigger you created. Instead create the trigger based on my screen shot here.

Action Type = "Selection"

Action = "Select in Field"

in the field you type Folder_name2

in the search string you type Department 1

Not applicable
Author

Still not working

Any other ideas?

Not applicable
Author

Can you attach the screenshot of your trigger please?