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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
swiftfahad
Contributor III
Contributor III

using filed in place of variables

I have a expression for text box

Expressions:

Sum( {$<Startdat ={"$(vLastMonth)"}>} Amount )    i.e. Startdat is date filed in database.

Variable:

 vLastMonth =  Date(Max(dat))                                            i.e   my dat field have dates from database.

now can I generate the same output putting directly  max(dat)  insted of variable?

Sum( {$<Startdat ={"Date(Max(dat))"}>} Amount )

 

Labels (1)
1 Solution

Accepted Solutions
sidhiq91
Specialist II
Specialist II

@swiftfahad Yes, you can generate. Below see the below expression for the same:

=Sum( {$<Startdat ={"$(=Date(Max(dat),'MM/DD/YYYY'))"}>} Amount )

If this resolves your issue, please like and accept it as a solution.

View solution in original post

2 Replies
sidhiq91
Specialist II
Specialist II

@swiftfahad Yes, you can generate. Below see the below expression for the same:

=Sum( {$<Startdat ={"$(=Date(Max(dat),'MM/DD/YYYY'))"}>} Amount )

If this resolves your issue, please like and accept it as a solution.

swiftfahad
Contributor III
Contributor III
Author

it works thanks