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
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

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!

Power BI Dev Camp Session 22 with aka link 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!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!