Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
anindya_manna
Partner - Creator II
Partner - Creator II

How to extract date when sales value reach exactly 100k?

Hello Experts,

I am creating a chart with the columns id ,name ,sales,100K break date.I want to show id and names whose sells more than or equal to 100k and also the aook break date in which it exactly touch 100k milestone.

How to do it in a single table?

23 Replies
Anonymous
Not applicable

Hi,


try with below two expressions.


Expression1: If(Sum(Sales) >= 100000 , [Date Field])


Expression1: Concat(DISTINCT if(Sum(Sales) >= 100000, [Date Field]),',')



Thanks,

Venkata Sreekanth

anindya_manna
Partner - Creator II
Partner - Creator II
Author

Yes able to get it.

But instead of previous function if there is any alternative way then please help me.

Table may not be always sorted in that case previous will not work.

anindya_manna
Partner - Creator II
Partner - Creator II
Author

Yes able to get it.

date(aggr(Min({<[New_Sales]={">=1000"}>}[Process Date]),Name,ID))


But instead of previous function if there is any alternative way then please help me.

Table may not be always sorted in that case previous will not work.

jyothish8807
Master II
Master II

You can use order by name, date in the script. Then you can use previous function

Best Regards,
KC