Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sum of Last Day Sales

   

   

PlatformOI_Systeminfo.virtualInventoryDatecount
AIVirtualCCMF11/25/201751
AIVirtualCCMF11/26/201751
AIVirtualCCMF11/27/201752
AIVirtualCCMF11/28/201752
AIVirtualCCMF11/29/201752
AIVirtualCCMF11/30/201752
AIVirtualCCMF12/1/201752
AIVirtualCCMF12/2/201752
AIVirtualCCMF12/3/201752

This series getting increase as per the new date .

I have tried a expression /Set analysis ,

=sum({<Date={Today(),-1}>},count))

which is not working .Please help

I need sum of count for all type of platform .

Let me know if you need any more details

12 Replies
OmarBenSalem

just replace the and with ,

sum({<Date={"$(=Max(Date))"},Info={'Virtual'} ,Inventory={'DDM'}>}count)

kaanerisen
Creator III
Creator III

Hi,

Sum({<Date={"$(=max(Date))"}>} Count) -

Sum({<Date={"$(=date(max(Date)-1,'MM/DD/YYYY'))"}>} Count) is fine but it will not cover all situation. For Example If it is not a working day before a day from last date, then calculation will be wrong.

Sum({<Date={"$(=max(Date))"}>} Count) -

Sum({<Date={"$(=max(Date,2))"}>} Count) will be much better approach I guess.

Anonymous
Not applicable
Author

Done ..Thank You very much