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

filter column using set analysis

Hello everyone, I am trying to learn this program but I am stuck somewhere, I read at least 20 topics but I seem to miss a point.

I have a table like this:

Col ACol B
XX25
YY30
XX15
YY40

I am trying to filter them using Col B, and show the Col A data in a graph. But I can't apply the filter.

To find the rows with Col B > 20, what should I do?

I created a chart with Col A values, I click set analysis, and apply below func there but nothing changes.

AGGR( ONLY ( {$<[Col B]={'>20'}>} [Col A] ) , [Col A]  )

What am I missing?

2 Replies
sunny_talwar

Did you try using an expression like this?

Sum({<[Col B] = {">20"}>}[Col B])

I am assuming you have Col A as dimension in your graph

HTH

NZFei
Partner - Specialist
Partner - Specialist

=if([Col B]>20, [Col A])