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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Logic1

Hi Expertise

PLease find the attachment of the qvw file .

I want to create a variable or is there a way to show the count of months for maximum Create field ...

for exmaple in Create field the data is till NOvemeber 2017.

therefore the filter should show me  11 ...how do i achieve this ?

this should be for maximum Create Field only ...

Thanks

1 Solution

Accepted Solutions
PrashantSangle

In variable write

=Month(max(dateFieldName))

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

2 Replies
Anonymous
Not applicable

Hi John

   You may need to use

Load max(month(Created)) as Max_Month,

        Key

From your table_name

group by Key

-Jai

PrashantSangle

In variable write

=Month(max(dateFieldName))

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂