cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors