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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
Super User

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
Super User

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

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

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.