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: 
giakoum
Partner - Master II
Partner - Master II

keeping dimension regardless of selection

Hi

I have a straight table chart, with dimension called Week.

What I need to do is, regardless of selection in field Measure, I need to show this chart. If you select Value in Measure, it works fine, but if you select Quantity, the chart shows nothing as no values for Week are there.

I thought some set analysis in the expression would do it, but still the chart shows nothing when Quantity is selected. I want the chart to behave as if always Value is selected in Measure. Remember, Week is the dimension.

Forgot to mention that set analysis works, but not together with aggr function, which I need to use. Without aggr, it works, but the same expression aggregated does not work. The chart shows nothing.

How can I do that?

1 Solution

Accepted Solutions
giakoum
Partner - Master II
Partner - Master II
Author

man, QlikView can be such a mind breaker...

sum({$<[Measure]={"Max Liability Value"}>}

          Aggr(

                    sum({$<[Measure]={"Max Liability Value"}>} QTY)*max({$<[Measure]={"Max Liability Value"}>} [Unit Price])

          , [Plan Week], [Supplier Code], [Item Code])

)

View solution in original post

1 Reply
giakoum
Partner - Master II
Partner - Master II
Author

man, QlikView can be such a mind breaker...

sum({$<[Measure]={"Max Liability Value"}>}

          Aggr(

                    sum({$<[Measure]={"Max Liability Value"}>} QTY)*max({$<[Measure]={"Max Liability Value"}>} [Unit Price])

          , [Plan Week], [Supplier Code], [Item Code])

)