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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
m_taz
New Member

Count Number of couple items sold based on Invoice number.

Hello 

I want to trace which the most couple of items repeated together in same invoices and count these invoices for each couple

 

The answer in the topic below answers half of my question, but the products in this query are fixed values

can i get something dinamically

Topic: 
Count Number of Bundles sold based on Invoice number.

 

Thanks

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

@m_taz 

It sounds like you're looking for something like a Basket Analysis measure:

Take a look at this page, specifically the # Orders Both measure:

DAX Patterns - Basket Analysis 

 

Regards,

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

4 REPLIES 4
OwenAuger
Super User
Super User

@m_taz 

It sounds like you're looking for something like a Basket Analysis measure:

Take a look at this page, specifically the # Orders Both measure:

DAX Patterns - Basket Analysis 

 

Regards,

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Thanks @OwenAuger 

it sounds that this artical have the answer , thanks again

lbendlin
Super User
Super User

That sounds more like correlation analysis. Have you considered running a Pearson correlation R script over your data?

Thanks @lbendlin for this idea

But can you guide me if you have references for this try ?

how can i start in this 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.