cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

Exclude a subset: Need to find out locations where the product has not been campaigned yet

Hi Folks,

 

I need to find out locations where the product is not campaigned yet.

Please go through the sample problem below:

 

 

Products

Car

Bike

Truck

 

 

Product Name

Locations

Car

India

Car

US

Car

China

Bike

US

Truck

India

Truck

US

 

All Locations

India

US

China

Indonesia

Malaysia

 

For example if a person selects product "car" then "Indonesia" & "Malaysia" should show up as places where the campaigning in not yet done. Product "Truck" should show up "China", "Indonesia" & "Malaysia" as not completed.

 

Regards,

Saurabh

1 ACCEPTED SOLUTION
Community Support
Community Support

Hi @saurabh_kedia_ 

 

You can use this measure:

Measure = 
IF(MAX(Table2[All Locations]) in VALUES(Table1[Locations]),0,1)

 Then filter it as 1:

0008.PNG

 

Community Support Team _ Dina Ye
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

1 REPLY 1
Community Support
Community Support

Hi @saurabh_kedia_ 

 

You can use this measure:

Measure = 
IF(MAX(Table2[All Locations]) in VALUES(Table1[Locations]),0,1)

 Then filter it as 1:

0008.PNG

 

Community Support Team _ Dina Ye
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

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