Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
panwipa2528
Contributor III
Contributor III

How to use set analyst in dimensions?

as data in attach file How to use set analyst in dimensions?
I have sheet "Data" and need result as sheet "Result"

1 Solution

Accepted Solutions
sunny_talwar

Change the second expression to this in tresesco‌'s solution

FirstSortedValue({<Quarter = {"$(='<=' & Max(Quarter))"}>}Tier, -Quarter ,2)

View solution in original post

5 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Do you want to do this in frontend or script will also do?

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
ali_hijazi
Partner - Master II
Partner - Master II

Hello Panwipa

check attached qvw

I added 3 additional fields to the read data from excel :

Key : unique value

Now: today's quarter

Previous Quarter: the quarter just before today's quarter

and I used them in set analysis

hope this helps

I can walk on water when it freezes
tresesco
MVP
MVP

One front-end solution could be using firstsortedvalue() like:

Capture.JPG

panwipa2528
Contributor III
Contributor III
Author

if I select quarter from time series The result can not display.

How can I do?

sunny_talwar

Change the second expression to this in tresesco‌'s solution

FirstSortedValue({<Quarter = {"$(='<=' & Max(Quarter))"}>}Tier, -Quarter ,2)