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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
fredericvillemi
Specialist
Specialist

Check if there is at least one selection ?

Hello,

I would like to put a Calculation Condition on all straight tables if the user has not selected at least one field because I don't want people to extract a Details chart with all selections removed.

Is there an easy formula to check if there is at least one selection active on any field ?

Or the negative version : check if no selections are active ?

Thanks

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Maybe

=Len(GetCurrentSelections())>0

View solution in original post

2 Replies
swuehl
MVP
MVP

Maybe

=Len(GetCurrentSelections())>0

fredericvillemi
Specialist
Specialist
Author

Thanks for your example

I've tried with =if(isnull(GetCurrentSelections()),0,1) and it works too

It was not as hard as i thought

Thanks