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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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 Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.