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

Create a table filtering for multiple values - logical OR

Hello community,

 

I have a table named "transactions" with a column named "account name".  Within the account name column, there are numerous accounts.  I would like to build a table to filter for two specific accounts.  I can create a table filtering for one account, but cannot figure out how to  filter for account "A" or account "B"

 

Would greatly appreciate any and all assistance.d

 

Jim

2 ACCEPTED SOLUTIONS
Icey
Community Support
Community Support

Hi @JimB-GA ,

 

In DAX, you can use "||" as "or". You can refer to this article: Logical operators.

 

Best Regards,
Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Icey
Community Support
Community Support

Hi @JimB-GA ,

 

Is this problem sloved?
 
If it is sloved, could you kindly accept it as a solution to close this case?  
 
If not, please let me know.  
 
Best Regards
Icey

View solution in original post

4 REPLIES 4
Icey
Community Support
Community Support

Hi @JimB-GA ,

 

Is this problem sloved?
 
If it is sloved, could you kindly accept it as a solution to close this case?  
 
If not, please let me know.  
 
Best Regards
Icey
Icey
Community Support
Community Support

Hi @JimB-GA ,

 

In DAX, you can use "||" as "or". You can refer to this article: Logical operators.

 

Best Regards,
Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

My apologies!  I have been out of the country.  Works perfectly!

 

Thanks so much!

 

Jim

MantasLukauskas
Frequent Visitor

Did you try slicer for this task? Because in slicer options you can choose multiple selection and then see filtered values based on two accounts 🙂 

 

Mantas

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.