Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
m156
New Member

Unique count data based on values with pre-filtering

My raw data table contains customer data including: Customer ID, Countries, Date, Categories, Sales, etc.

Examples:

#123, US, Jan, Apple, $100

#123, UK, Jan, Orange, $200

#234, US, Feb, Apple, $100

#345, UK, Feb, Grape, $300

 

Is there any chance in one table, displaying the categories in the rows:

Calculating the percentage of customers (unique count) who buy any other Fruits from the group of customers (unique count) who buy Apple?

And then the same go for Orange, Grape, etc. on the same table.

I would like the table to be able to work with the slicer filter on the page so that I can filter things like Country, Date, etc.

 

Thank you very much for the help!

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @m156 
Ii sounds like basket analysis please refer to the linked tutorials:

https://www.youtube.com/watch?v=3OlZuXH9Y_g

https://www.youtube.com/watch?v=Wc08K6IWgIM

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
williamdavi2
New Member

Before analyzing data, it's crucial to ensure accuracy by pre-filtering and removing duplicates. Unique count data based on values offers insights into distinct occurrences, aiding decision-making processes. verizon business internet Through systematic pre-filtering, redundant entries are eliminated, enabling precise data analysis. This approach enhances data quality and integrity, facilitating more informed conclusions and strategic actions.

Ritaf1983
Super User
Super User

Hi @m156 
Ii sounds like basket analysis please refer to the linked tutorials:

https://www.youtube.com/watch?v=3OlZuXH9Y_g

https://www.youtube.com/watch?v=Wc08K6IWgIM

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors