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 

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)