Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

two alternate states for one expression

Hi guys,

i trying to achieve following task:

I know the feature alternate states and I can build a solution with two expressions and two alternates states.

But what i want is following:

I only want to have one Expression but with two alternate states.

KPIID1ID2
Requests1020

I want a pivot table with one expression and one dimension

dimension: ID

expression: SUM(Requests)

So, now i want to have two TimeRange Filters, lets say TimeRange1 and TimeRange2

TimeRange1 should only influence ID1 and TimeRange2 should only influence ID2.

My question: Is that possible in Qlikview?

Regards

steve

4 Replies
t_chetirbok
Creator III
Creator III

Hello!

Alternate state can influence only expressions or calculated dimensions.

And if you have two alternate states, you should have two expresiions.

Anonymous
Not applicable
Author

Yup, put your required State in the expression.

    SUM( {YourState} Requests)

Not applicable
Author

Hey, thank you for your responses,

if I would do so, the state would influence both ID1 and ID2. What I need is, two filters with TimeRange, one influences the Value for ID1 and the other one influences ID2

Not applicable
Author

Hi Bill,

How do you do that with multiple conditions within your formula?

As an example: Avg({<[Exam Status]={'Completed'},[Exam Type]={'XR'}>}[TAT])