Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis problem with ignoring selections

I made a demonstration for Set Analysis problem. Demonstration file was added as attachment. .

when i click on specific year on the year table, I'm getting the trend graph for this year but i just want to see general graph from 2010-2012. I try "=count({1<Year=,V_ID={'=Actual>=Target'}>} V_ID)/Count({<Year = >} V_ID)" this formula. "V_ID={'=Actual>=Target'}"  works very well but "{1<Year=>}" doesn't work. In my opinion, "{1<Year=>}" must ignore Year selection but it doesn't work.

   

Thank you for your help

7 Replies
Luis_Cortizo
Former Employee
Former Employee

Hi, Selim

   For what I can see, the expression is working I supposed:

- On the first expression, whenever you click on a Year the values for V_ID change and the output of the expression is correct.

- On the mini chart, the expressions is working BUT the dimension of the MiniChart is Year as well, so whenever you click on a specific value of Year the dimension of the mini-chart gest filtered and if the mini chart only has one value the output will be one value only independently of the output of the expression.

Hope it helps.

Best regards.

MK_QSL
MVP
MVP

Can you explain how you want to compare V_ID with Actual and Target?

V_ID={'=Actual>=Target'}

Not applicable
Author

Thank you for your explanation.

Is there a way to show on the first expression, "cal",  based on a selected year, on the second  expressions ,"trend", as a mini chart not year dependant ?

Not applicable
Author

Hi Manish,

it's not a comparison.It was used for obtaining to return records having target data greater than or equal to actual data. It woks

Luis_Cortizo
Former Employee
Former Employee

I can't think of any way of doing it right now (beyond modifying the data model).

The mini chart needs a field for the dimension value and it cannot be altered or calculated, so whenever you select a year the dimension of the mini-chart will be filtered.

preminqlik
Specialist II
Specialist II

hi there once try this

count({<Year=>}aggr(count({1<V_ID={'=Actual>=Target'}>}V_ID)/Count( {<Year=>} V_ID),D_ID,Name,Year))

Not applicable
Author

Dimension ignoring is working but i think formula is wrong.