cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jansenuy
Helper I
Helper I

Two level filtering

Hello,

 

I need to create a measure that filters a columnbased on two different columns separately not subsequently.

To make it more understandable, I need to filter cash flow for selling transactions in, let's say, US, and buying transactions, for the US as well.

 

So I have three columns Cash Flow, Point of Sale, and Point of Purchase. How can I filter cash flow for all transactions in the US? Thanks in advance,

1 ACCEPTED SOLUTION
GilbertQ
Super User II
Super User II

Hi @jansenuy

 

If I understand your question correctly you could create either 2 slicers, one for each of the Columns.


Or you could also create a measure similar to the one below.

 

My Measure = CALCULATE([Total Sales],Table1[Column] = "Selling Transations" || Table2[Column] = "Buying Transactions")




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

2 REPLIES 2
GilbertQ
Super User II
Super User II

Hi @jansenuy

 

If I understand your question correctly you could create either 2 slicers, one for each of the Columns.


Or you could also create a measure similar to the one below.

 

My Measure = CALCULATE([Total Sales],Table1[Column] = "Selling Transations" || Table2[Column] = "Buying Transactions")




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

@GilbertQDidn't exactly copy your measure but I used || to simulatenously filter. Thanks!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Top Solution Authors
Top Kudoed Authors