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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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 and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.