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

No expression result

Hello community

I would like to calculate the budget of maximum date in my excel file.

To do so, I created a variable vMaxdb =date(max(dateBudget), 'DD MMM YYYY')

and then in my expression :=sum({<[dateBudget]={$(#vmaxdb)}>}[Budget PO]/1000)

It didn't work.

Do you have an idea please.

Thanks

Labels (1)
15 Replies
oknotsen
Master III
Master III

Notice the hash sign (the "#") in your expression. That should not be there as far as I know. Remove it and see what happens. I probably would replace it by an "=".

May you live in interesting times!
Anonymous
Not applicable

Hi Wiem,

if you want to force vmaxdb date to be evaluate as a number user this:

sum({<[dateBudget]={'$(#=vmaxdb)'}>}[Budget PO]/1000)

Hope this help

Maurice

mithilesh17
Partner - Creator II
Partner - Creator II

Hi,

Remove # symbol.

Regards,

Chanty4u
MVP
MVP

hi,

Remove  # symbol and replace with =

sunny_talwar
MVP
MVP

May be this:

=Sum({<[dateBudget]={"$(=Date(Max(dateBudget), 'DD MMM YYYY'))"}>}[Budget PO]/1000)

master_student
Creator III
Creator III
Author

Hello,

I tried but it didn't work.

My goal is to display the budget By

month :

MTD , from first january until mnt po (in my excel file is not null)

and YTD

Could you send me your emails, I can't attach any file here...

Thank you for your help

Kushal_Chawda
MVP
MVP

try this

=sum({<[dateBudget]={"$(=vMaxdb)"}>}[Budget PO]/1000)

HirisH_V7
Master
Master

Hi,

Check with this,

sum({<[dateBudget]={'$(=Date(max([dateBudget]), 'DD MMM YYYY'))'}>}[Budget PO])/1000

Whether your Date format is  of same , dateBudget - 'DD MMM YYYY'   or not.

-Hirish

HirisH
sunny_talwar
MVP
MVP

I am not sure who are you referring to in your post?