Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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())

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