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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
joel1201
New Member

weekly sales report by product accross multipul locations

Hi All

This is my first adventure into the Power Bi Land and despite going though the tutorials it is just not clicking for me.

I'm trying to build a sales report that colates week on week sales based on certain products.

 

REPORT Table

PLU DescriptionW1Qty Sold W1$Sold W2Qty Sold W2$Sold 
123Product 1 50050004004000
555Product 29090050500

Data for each week is in a seperate sheet

PLU DescriptionStore Qty Sold$ Sold 
123Product 1 Store17007000
123Product 1 Store25005000
555Product 2Store180800
555Product 2Store250

500

 

Additionally I am only looking for certain products in the lists, these are listed in another table 

 

PLUDescriptionSizeCategory 
123Product 1 425BT-425
500Product 2 425BT-425
325Product 3 570BT-570
999Product 430Spirits 

 

Any help or a point in the right direction would be very much appreciated.

 

Thanks

Joel

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@joel1201 the best would be combine each weekly sales report in one table, you can do this in power query (advanced editor) append feature, before appending add new column in your file called "Week" and assign value to "Week 1", "week 2", depending on fiile.

 

At end, you will have file of all weeks with a column "Week" showing which week this file is from, and now if you use matrix visual, you can have product on rows, week on column and $ and qty on values. and everything will line up.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

1 REPLY 1
parry2k
Super User
Super User

@joel1201 the best would be combine each weekly sales report in one table, you can do this in power query (advanced editor) append feature, before appending add new column in your file called "Week" and assign value to "Week 1", "week 2", depending on fiile.

 

At end, you will have file of all weeks with a column "Week" showing which week this file is from, and now if you use matrix visual, you can have product on rows, week on column and $ and qty on values. and everything will line up.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.