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

Set analysis

Hi,

I have tried to calculate MTD value with the below expression but it is not working.

Expression: (count({<creation_date {">=$(=(vMstart)))<=$(=vYesterday))"},flag={'Non GUI'}>}distinct order_number))

Thanks..

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be this?

Count({<creation_date = {">=$(vMstart) <=$(vYesterday)"}, flag = {'Non GUI'}>} DISTINCT order_number)


If not post variables and flag in details

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

2 Replies
Anil_Babu_Samineni

May be this?

Count({<creation_date = {">=$(vMstart) <=$(vYesterday)"}, flag = {'Non GUI'}>} DISTINCT order_number)


If not post variables and flag in details

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jayanttibhe
Creator III
Creator III

In addition to Anil;s response : You would also like to have no impact of another Calender fields in your MTD expression;

Just take care it within the set expression : Year=, Month=, Quarter=, Week=, DateField=,

etc.