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
TheShowMustGoOn
Regular Visitor

Slicer and Visual interaction help

Hi,

 

I'd like to show product crossover as a visual, let's say a funnel, which will show me the product with the highest crossover with the one I've selected at the top, down to the lowest at the bottom. I'm having trouble using slicers to get the funnel to show this correctly.

 

Example data - first 2 columns are an example of the data I'm providing, others show table form of how to present it (product crossover % is how the funnel should show).

I'm looking at the product APPLES and seeing what other products, the customers who purchased apples also purchased.  All of them purchased Oranges, 50% of them purchased bananas, 25% of them purchased pears and plums.

Customer IDProduct  CUSTOMER DISTINCT COUNTPRODUCT CROSSOVER
AAPPLES APPLES4100%
BAPPLES ORANGES4100%
CAPPLES BANANAS250%
DAPPLES PEARS125%
ABANANAS PLUMS125%
BBANANAS    
CPEARS    
DPLUMS    
AORANGES    
BORANGES    
CORANGES    
DORANGES    

 

I want to filter the visual by the customers who purchased product name APPLES. But still show all the other products.

 

- When I have a funnel visual with product name (category) and distinct customer ID count (values) it shows number of customers per product for my whole database as expected

No slicer filter selectedNo slicer filter selected

- When I add in a slicer for product name, the funnel only shows the customer count for that one product

 

product filter.png

 

- I added in another slicer for customer ID and have all selected, with a card to show customer count, this changes as I select product.

- I have edited interactions so the product name slicer does not filter the funnel visual, but the customer ID slicer does - in theory I hoped this would mean the funnel would only show products for the customer ID's in the second slicer. It doesn't, it remains as the whole database.

PRODUCT FILTER ON.png

 

- If I use the customer ID slicer to multiple select customers, it does what I want it to do. But I want to do that by product not by customer ID.

 

CUSTOMER FILTER ON.png

 

I need the product slicer to power the customer slicer, which then powers the visual... but still shows non-filtered products?

 

Any ideas?

Thanks!

1 ACCEPTED SOLUTION

Invest in a data model. Won't work with a single table.

View solution in original post

4 REPLIES 4
TheShowMustGoOn
Regular Visitor

Thank you. I'm learning as I go along so I appreciate your help. This now works as I wanted it to.

TheShowMustGoOn
Regular Visitor

Hello,

Customers and products are in the same table in my example, 2 columns. So no relationships etc. 

model.png

model.png

Thanks!

Invest in a data model. Won't work with a single table.

lbendlin
Super User
Super User

 Does your data model look like this?

 

lbendlin_0-1709326926849.png

Your sample data and your expected outcome don't seem to match. Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

 

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.