Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Toggle expression in pivot table

I'm new to the community and QlikView.  I searched but unfortunately I didn't find exactly what I was looking for. 

I have a model with a pivot table that compares expressions that are typically actual, budget and forecast.  So for any one table we compare, actual to budget, or forecast to actual or forecast to budget.  Is there a way I can dynamically change the columns between actual, budget or forecast. 

I was using set analysis.  Below is the one for budget:

(Sum({$<balance_code={'BUDGET'}>} Amounts))

So I basically want 'Budget' to toggle.  I think I can do it with a button, but ideally I would like a drop box in the pivot table.  Not sure if QlikView can do the later.

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

You can try this by using Expressions grouping which is similar to "Cyclic Group" for dimensions.  You can create expression grouping in Expressions tab of chart by clicking "Group" button.

Hope this helps you.

Regards,

Jagan.

View solution in original post

4 Replies
phaneendra_kunc
Partner - Specialist III
Partner - Specialist III

Hi

See ATTACHED if this helps.

Create a inline table with those 3 fields ( and use that field in your expression and you can keep a list box/multi box on top of your pivot table.

Regards

Phani

jagan
Luminary Alumni
Luminary Alumni

Hi,

You can try this by using Expressions grouping which is similar to "Cyclic Group" for dimensions.  You can create expression grouping in Expressions tab of chart by clicking "Group" button.

Hope this helps you.

Regards,

Jagan.

nilesh_gangurde
Partner - Specialist
Partner - Specialist

Hi lidojuagon,

You can can load the inline table.

Make three different table using the three expression.

And put the condition in chart that it will show only one chart at a time other two charts are invisible.

when u select the value from the list box accordingly the corresponding chart gets visible.

Hope this helps !

Regards,

Nilesh Gangurde

Not applicable
Author

Using the grouped expression function is there a way to dynamically update my variance column to subtract  the two columns.  In other words, if I select actual in one column and budget in the next it should calc the variance between the two, but if I change actual to forecast it should update the variance.  Seems like there should be a way to name your grouped expression.