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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Klingi
Regular Visitor

Count number and time for upgrade packages

Hi PowerBI community,

 

maybe some one can help me with the following task.

We have a purchase record with following fields.

-Sales ID: Identifier for an sale

-Time: Date of the Sale
-CustomerID: Identifier for the customer
-ItemID: Identiifer for the item

-Product: Product Name

screen1.png

 

 

 





Additionaly are the item depending on their ItemID categorized in categories.

For example is "Computer_A" a package consisting of several items, wheras Harddisk and RAM would be considered an upgrade item.

screen4.png

 

 

 

 

The task is to answer two questions:

-How many Upgrade packages had been directly sold with the first purchase. 

-What is the average time for an Upgrade item to be purchased after an initial Package sale.

 

The goal is to have something like the below table.

 

screen3.png

 

 

 

Has someone an idea how this could work?


Best regards and thank you.

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Klingi 

Capture2.JPG

Item 1 has two kinds of products.

Why the package in the table is "Computer"?

The table has many items, how can we define which is package or upgrade?

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

dsfd

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors