Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

MTD in textbox

Hi All,

Would any one suggest me how to show MTD values in textbox.

Ex. If I select 03rd Dec then textbox should show Total of Dec in textbox.

I tried with Set analysis but I guess I put something wrong.

Please suggest.

Thanks in advance

5 Replies
vinieme12
Champion III
Champion III

Please post the expression you used and the date flags you have in your master calendar

YTQ, QTD, MTD and WTD

Period Presets: Compare Periods on the fly

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
surendraj
Specialist
Specialist

Did you try this...

sum({<Year={$(=Max(Year))},Date={'>=$(=monthstart(max(Date)))<=$(=max(Date))'}>}[Sales Amount])



Not applicable
Author

Hi Sir,

Not working sir,

I have Year = Years, Month=Months, Day=[Report Day].

If I select any [Report Day] it should show total of Request of same month.

Ex. If I select 10th Dec it should show total request from 01st Dec to 31st Dec.

Please help

surendraj
Specialist
Specialist

May be this..but I am not sure..

Sum({<Years=, Months=,DateField=, [Report Day]={">=$(=Num(MonthStart(Max([Report Day]))))<=$(=MonthEnd(Max([Report Day])))"}>} Sales)

Here you can apply your measure on set analysis.here I used sales as my expression.

Take the dimensions as you have..

vinieme12
Champion III
Champion III

if you have a Report Month! field

sum({<ReportYear={$(=Month([Report Day]))},[Report Month]={"$(=Month([Report Day]))"}>}[Sales Amount])


Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.