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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.