Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
How can I transforme IF syntax in Set analysis?
=COUNT(
IF(ARTICLE_ID=10 OR ARTICLE_ID=15
AND Date(OpeningDate,'DD/MM/YYYY hh:mm:ss')<= Date(ClosingDate,'DD/MM/YYYY hh:mm:ss')+ maketime(vHours2),1,0
)
)
Thanks for your help.
hope I understand your question, see attachment
you find a textbox with some explanation in the attachment
You can try below.Variable can make code simple.
Variable1 = Date(ClosingDate,'DD/MM/YYYY hh:mm:ss')+ maketime(vHours2),1,0)
Count({<ARTICLE_ID={10,15},Date(OpeningDate,'DD/MM/YYYY hh:mm:ss')={'<=$(=$(Variable1))'}>} 1)
Hi Chiranjeevi,
Thanks for your response but it doesn't work.
this is the ARTICLE_ID of your qvw; how can you (and other people too) check if expression works?
![2014-03-21 23_37_14-QlikView x64 - [C__Users_mgrossi_Desktop_Z.qvw_].png](/legacyfs/online/55637_2014-03-21 23_37_14-QlikView x64 - [C__Users_mgrossi_Desktop_Z.qvw_].png)
Massimo,
Sorry for mon qvw. My separator was not correct.
hope I understand your question, see attachment
you find a textbox with some explanation in the attachment
Many thanks, Massimo.