cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JimB-GA
Helper III
Helper III

How to create a table with 2 filtered criteria

Good day all,

 

I have a filtered table which is pulling from a table named 'transactions'.

 

Savings = filter(transactions,transactions[Account Name]="Savings")
 
Is it possible to create the table with 2 criteria?  I have another account name = 'Money Market"
 
THanks
 
Jim from GA
1 ACCEPTED SOLUTION
EugenioJunior
Frequent Visitor

Hi @JimB-GA 

Try this:

 

FILTER(Transactions,Transactions[Account Name] = "Savings" || Transactions[Account Name] = "Money Market")

View solution in original post

4 REPLIES 4
v-chuncz-msft
Community Support
Community Support

@JimB-GA ,

 

You may also use The IN operator in DAX.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
EugenioJunior
Frequent Visitor

Hi @JimB-GA 

Try this:

 

FILTER(Transactions,Transactions[Account Name] = "Savings" || Transactions[Account Name] = "Money Market")

Thanks.  Just learned about the double pipe!

Thanks!

 

 

Jim-GA

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Dev Camp Session 22 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!