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: 
smilingjohn
Specialist
Specialist

Expression into dimension

Hi All, 

I have below expression as :

count(Distinct {<SEVERITY_NAME={'A' }>}if(CREATE_DATE<DepDate and (isnull(CLOSE_DATE) or CLOSE_DATE>=DepDate),ID))
+
count(Distinct if(CREATE_DATE>DepDate,ID))

 

Now I need to write the same expression as a 

Calculated Dimension .need help in getting this 

 

Thanks in Advance 

Labels (1)
4 Replies
smilingjohn
Specialist
Specialist
Author

Hi Expertise 

Any help on my post 

 

Thanks 

 

 

smilingjohn
Specialist
Specialist
Author

Hi All,

Is this not possible ? or no way to achieve the above expression as a calculated dimension ?

Raja2022
Contributor III
Contributor III

Give a try using Aggr() function and also look into this link and see if that helps:

https://community.qlik.com/t5/QlikView-App-Dev/Calculated-Expression-Use-as-a-Dimension/td-p/1547832

 

 

smilingjohn
Specialist
Specialist
Author

This did not help ...I am really stuck with this now