Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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]