Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
piyush_s11
Creator
Creator

Show data for max month

Hi,

I wanted to show data for max month.

image 1.PNG

In Data as of section I wanted to selected latest month & year.

Suppose I have data for April 2019 so that should show Data as Of: Apr 2019

Also for selection

image 2.png

I have a filter for the same. For this filter I wanted to sort the data from latest month & year to oldest month & year.

Thanks.

8 Replies
kushalthakral
Creator III
Creator III

Hi Piyush

You can use following expression in Sort tab of that filter 

Only({<[FileYear] = ,Month = ,[Data As Of] = >}FileDate)

and select descending 

I hope answer your question

 

Thanks

Kushal

piyush_s11
Creator
Creator
Author

Hi Kushalthakral,

Tried your solution. Unfortunately it is not working.

 

kushalthakral
Creator III
Creator III

Hi Piyush

 

Please find the QVW is the same requirement you want i.e to sort months in filter

 

Thanks

Kushal

tresesco
MVP
MVP

Try sort by expression:
=Only({1}Date#([Data As Of], 'MMMYYYY'))
piyush_s11
Creator
Creator
Author

Hi Tresesco,

Thanks

tresesco
MVP
MVP

Try unchecking sort by State
piyush_s11
Creator
Creator
Author

Hi Tresesco,

Sorry did not understand your point

thanks

tresesco
MVP
MVP

PFA