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

Pivot Table


Hi Everyone,

I am using one slider and one pivot table in my Dashboard. My requirement is If user select 3 in slider then chart will show only first three States in chart. Please find sample qvw in attachment. Please suggest.

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Use a calculated dimension for State:

=Aggr(If(Rank(Sum(Sales)) <= vSlider, State), State)

See attached

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

3 Replies
soha1902
Creator
Creator
Author

Any suggestions Please?

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Use a calculated dimension for State:

=Aggr(If(Rank(Sum(Sales)) <= vSlider, State), State)

See attached

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
PrashantSangle

Hi,

Try this logic and develop your report

You have to use Rank() in dimension to show row as per selection in slider

In your Slider when user select any value that value set to variable and you have to use that variable in

Rank() to limit rows.

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 🙂