Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
alex_stone
Creator
Creator

How to keep the sorted by special column?

Currently, I have one straight table like below:

Asset ClassJanFebMarAprMayJunJulAugSepOctNovDecYTD Revenue
aa
bb
cc
dd

The column from Jan ~ Dec will be shown when it reach the corresponding month. e.g. Currently month is June, it will show as below.

Asset ClassJanFebMarAprMayYTD Revenue
aa
bb
cc
dd

And I want to sorted by YTD Revenue always. The sort priority will change automatically when have more month to shown on left of YTD Revenue. How to keep highest priority for YTD Revenue no matter we have how many monthes to show?

1 Reply
Anil_Babu_Samineni

Hello Alex, Please add this in your YTD?

Month = {'$('<=' & <=Max(Month))'}

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful