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
tomf
Frequent Visitor

Combine INCLUDE and EXCLUDE filters in same table and model

Hi all,

 

I'm trying to build a model which I can use to create lists of customers based on multiple criteria.

The filters I want to apply would contain a mix of "include" and "exclude" criteria - sometimes for items within the same related table.

 

To illustrate, I have the following:

 

A Customer table

a Sales table

a Product table

(and a Date Table)

 

What I'd like to be able to do is to filter the customer list based on:

HAS purchased Product A

but also,

has NOT purchased Product B

 

More complex scenarios would then involve adding further criteria, for example

 

HAS sales within the last 6 months

or 

Sales Total within the last 6 months > £x

 

I've searched the boards, and done some other research, but can't see anything obvious which would help me. Any advice or tips the community can throw out would be really welcomed.

 

Thank you

1 REPLY 1

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.