Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
joshdellapietro
Contributor III
Contributor III

Formula for Filter Pane to Apply to 2 Columns

Hi All,

I have two columns, [Customer 1] and [Customer 2], they share 4 of the same members; 'Member A', 'Member B', 'Member C', and 'Member D'.

I have multiple charts on my sheet, some pertain to [Customer 1], some to [Customer 2]. 

Using a Filter Pane, I am trying to create a formula that shows only the 4 common members (A-D) and when one is selected, the filter applies to both [Customer 1] and [Customer 2].

Please help!

 

2 Replies
rbartley
Specialist II
Specialist II

It seems to me as though you need to alter your load script to include a link table which includes the common customer values and use the field from this table in your filter pane.
stevejoyce
Specialist II
Specialist II

I'd probably agree with @rbartley.  But this should give you what you want:  this will only show where values exist in both customer fields and selects the value in both fields:

 

=aggr(if([Customer 1] = [Customer 2], [Customer 1] ), [Customer 1] ,  [Customer 2])