Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
cancel
Showing results for 
Search instead for 
Did you mean: 
SkitzN27
Creator
Creator

Set Analysis for an equation

Hi guys,

How can I put the highlighted equation in set analysis?

count( distinct {<[Dimension]={'Complete'}, [Dimension2]={"=len(trim([Dimension2]))>0"}>} if(([Date_Field]-[Date_Field_2])>=0,[Primary_Key],null()))

 

Thank you so much!

Labels (4)
1 Reply
Anil_Babu_Samineni

Perhaps this?

Alt(count( distinct {<[Dimension]={'Complete'}, [Dimension2]={"=len(trim([Dimension2]))>0"}, Primary_Key={"=(Date_Field-Date_Field_2)>=0"}>} [Primary_Key]), Null())

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)