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: 
yh2023
Contributor III
Contributor III

Issue with Set Analysis Expression Resulting in Blank Column

Hello everyone,

I am currently facing an issue with a set analysis expression in Qlik Sense, and I would appreciate any insights or assistance.

I am attempting to use the following expression:

={<Appt_Date = >} if(Appt_Date1 >= date('$(vMaxApptDate)'), Count(distinct IPNO))

where the variable vMaxApptDate is defined as max(Appt_Date). The field Appt_Date is present in the date range filter.

However, the result is a blank column.

 

Observations in the Chart Expression:

yh2023_0-1706776259517.png 

 

Labels (2)
1 Solution

Accepted Solutions
Anil_Babu_Samineni

@yh2023 Perhaps the syntax like this

Count({<Appt_Date=, Appt_Date1={">=$(=vMaxApptDate)"}>} distinct IPNO)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

2 Replies
Anil_Babu_Samineni

@yh2023 Perhaps the syntax like this

Count({<Appt_Date=, Appt_Date1={">=$(=vMaxApptDate)"}>} distinct IPNO)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
hic
Former Employee
Former Employee

Anil's solution should work. The reason why can be found here:

https://community.qlik.com/t5/Design/Use-Aggregation-Functions/ba-p/1475833