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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

please help me....in this query

How can I write this in expression of qlikview??

select max(fiscal_key) from qlk_dim_period where [Fiscal Month]='Aug' and [Fiscal Year]=2012

1 Reply
Not applicable

Hi,

Try this:

Max({$<[Fiscal Month] = {'Aug'}, [Fiscal Year] = {2012}>} fiscal_key)

You can replace the dollar-sign $ above to 1, if you want to ignore any selections made.

If fiscal_key is a string, use MaxString instead of Max.

Hope this helps.