Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
ronaldwang
Creator III
Creator III

set analysis with condition applied

I have a dimension A which contains value say B, C ,D and I create a chart where I want to only show the amount for that dimension with B being selected. thus if user select C in the filter, the chart should show 0. what should be used?

3 Replies
qlikviewwizard
Master II
Master II

Hi,

Try like this.

SetAnalysis:

LOAD * INLINE [

A,Amount

B,10

C,20

D,30

];

1.PNG

2.PNG3.PNG

tresesco
MVP
MVP

Or, may be using set analysis like:

Sum({<A*={'B'}>}Amount)

manojkumar_mk
Partner - Contributor II
Partner - Contributor II

HI,

Write in expression with set analysis:

Sum( {<A={'B'}>} amount)

Where,

A means Dimension,

B means parameter which is coming from Dimension

If you are taking Dimension as a filter and user select others selection in dimension the chart won't be reflect.

Thanks,

Manu