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: 
nareshthavidishetty
Creator III
Creator III

Set analysis

Hi,

I have used the below logic in my chart expression.

(sum({<[Reported Date]={'>=$(vYTDstart)<=$(vYTDend)'}>} TOTAL [Margin Dollars])

    /

    sum({<[Reported Date]={'>=$(vYTDstart)<=$(vYTDend)'}>}TOTAL [Margin Booked Sales]))

Here i need to capture only the month end value starting from Feb,2016.

vYTDstart = 02/01/2016

vYTDend=today()-1


Thanks..


11 Replies
Anonymous
Not applicable

DO you need the Day function Sunny. Wouldn't this work,

(Sum({<[Reported Date]={'>=$(vYTDstart)<=$(vYTDend)'}>*<[Reported Date] = {"=MonthEnd([Reported Date])"}>} TOTAL [Margin Dollars])

    /

    Sum({<[Reported Date]={'>=$(vYTDstart)<=$(vYTDend)'}>*<[Reported Date] = {"=MonthEnd([Reported Date])"}>}TOTAL [Margin Booked Sales]))

sunny_talwar

I don't think so... but I may be wrong