Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Straight Table - Window Title Expression

Hi All,

i am using this expression in Window Title: = 'Projects Completed in ' & month(month(vtoday)-1) and the value i am getting is below:


Projects Completed in 8


vToday variable is giving todays date


expectation of the result is:


Projects Completed in August


please advise


thanks in advance

Sukhwant


Labels (1)
1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

= 'Projects Completed in ' & Month(AddMonths(Today(), -1))

If vtoday is a valid QV numeric date (and remember that variable names are case sensitive - vtoday and vToday are two distinct variables):

= 'Projects Completed in ' & Month(AddMonths(vtoday, -1))

= 'Projects Completed in ' & Month(AddMonths(vToday, -1))

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

13 Replies
arulsettu
Master III
Master III

try this

month(Today())-1

tresB
Champion III
Champion III

Try like:

'Projects Completed in ' & month(Addmonths(vtoday,-1))

Anonymous
Not applicable
Author

try this Expression:

'Projects Completed in ' & date($(vtoday),'MMMM')

jonathandienst
Partner - Champion III
Partner - Champion III

Like this:

= 'Projects Completed in ' & Month(vtoday-1)

(assuming vtoday is a valid QV numeric date)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

did not work

Not applicable
Author

did not work

Not applicable
Author

as today September is coming, i need value as August, so your suggestions will not work

Not applicable
Author

as today September is coming, i need value as August, so your suggestions will not work

jonathandienst
Partner - Champion III
Partner - Champion III

= 'Projects Completed in ' & Month(AddMonths(Today(), -1))

If vtoday is a valid QV numeric date (and remember that variable names are case sensitive - vtoday and vToday are two distinct variables):

= 'Projects Completed in ' & Month(AddMonths(vtoday, -1))

= 'Projects Completed in ' & Month(AddMonths(vToday, -1))

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein