Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Group by With Listbox

H All

I have a requirement.

I want to give the field in Listbox and whenever the user select any value from listbox then the chart data will groupby on basis of selection made in listbox.

Eg:::

ListData:

LOAD * Inline [

SNo, Data

1, Task

2, Project Type

3, User

];

Chart is showing data with time.

Now when user select Task from listData then chart will be groupby 'Task'

4 Replies
MK_QSL
MVP
MVP

http://community.qlik.com/blogs/qlikviewdesignblog/2014/01/31/customizable-straight-table

Is this what you are looking for?

If not, please provide sample data along with your requirements in excel file...

Not applicable
Author

That post is all about adhoc report with Table.

I was looking for groupby with listbox data. That is done with Aggr() in expressions.

Thanks!!

PrashantSangle

Hi,

You can use Variable to acheive desired requriement.

Create Variable->assign fieldselection value.

and use that variable in Aggr()

Hope this will solve your issue.

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 🙂
tresesco
MVP
MVP

Do you have fields like 'Task', 'Projects Type', 'User' ? If yes, you might want to use conditional enablement of dimensions to achieve that.

Dimension: Task

Enable Conditional :=Data='Task'

Dimension: [Projects Type]

Enable Conditional :=Data='Projects Type'

....