cancel
Showing results for 
Search instead for 
Did you mean: 
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
Twitter
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
Twitter
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors