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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dependency of two fields

Hi,

in a diagram-table there are two fields, which should be works together. If table field largest_case is empty, Location-field should be also empty. If largest_case have a value, Loacation have a value.

Regards
Stefan

3 Replies
giakoum
Partner - Master II
Partner - Master II

use an if statement. But this is not very clear, you need to elaborate a little.

SunilChauhan
Champion II
Champion II


if (len(largest_case)=0,' ',Location_field ) as Location_field

if(len(Location_Field)=0,' ',largest_case) as lagest_case

may be you looking for this.

Thanks

Sunil

Sunil Chauhan
maxgro
MVP
MVP

if(len(trim([largest_case]))=0, '', [Location-field]) as [Location-field]