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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors