Newbie needs help

Jaddy Balagtas

New Member
Joined
Dec 1, 2017
Messages
4
Hello I am new here and I'm not sure if this question has been asked before. My problem is that I am creating a report for sales. The report has daily sales. weekly sales, month to date sales and year to date sales. My data set is by day. How can I have them based on the column that I need in the pivot table.

RegionCountryLocationDaily SalesWeekly SalesMonth To DateYear to Date
AsiaChinaHong Kong100500400040000
Macau200500400040000
Beijing150400400040000
JapanNagoya200300400040000
Okazaki300500400040000
SingaporeKallang100300400040000
Jurong300500400040000
Middle EastDubaiDubai400600400040000
Abu Dhabi100300400040000
Saudi ArabiaJeddah150400400040000
Riyadh500600400040000

<tbody>
</tbody>
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
If you want them all in the same pivot table at the same time you can't do that with normal pivot tables. Or you have to build a funny looking source data table where there's a separate column for each of your values (daily / weekly / monthly / yearly) and even then you have to make sure all the values can be found in the right rows to start with. Not a good way at all. A much better - though still not perfect - solution would be to use several pivot tables and maybe collect the data you want into a single view with GETPIVOTDATA-formulas. If all your pivot tables use the same source data you can use the same slicers to filter them all and you could achieve a pretty nice report that way.

But by far the best way to do this would be using measures in Power Pivot.

The catch with the Power Pivot is you're going to have to build a data model (calendar table and all) and use filters to achieve what you're looking for. Unfortunately it's not that easy to show you how it's done because I'd need to know the data model structure first. But if you spend some time watching Power Pivot lessons in YouTube you can do that yourself in couple of days. And you're going to thank yourself later for doing that.

Here's a good place to start learning Power Pivot and DAX formulas: https://youtu.be/LkDbHRCZ4mY
 
Last edited:
Upvote 0
Thanks I appreciate the help. The other alternative is to process the data and save them to a table so that the data is already ready to show.
 
Upvote 0

Forum statistics

Threads
1,215,453
Messages
6,124,930
Members
449,195
Latest member
Stevenciu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top