Solved

Doing total work into Data Model

Posted on 2016-09-30
2
36 Views
Last Modified: 2016-10-20
Hi

I have a small sample table, which I have added to the Data Model. I want to add a NEW COLUMN named [Total_value], which is calculated by multiplying 2 columns named [A1] and [B1].

Then I want to do AGGREGATION based on this newly calculated column of [Total_value], in such a manner, that instead of getting the values for each STORES separately, I get just one value for each PRODUCT per state of Texas and Florida.

The Final Result will look something like this, showing only the Aggregate Values, for Each State, for Coca Cola and Pepsi, on each dates.

Coca-Cola-Vs-Pepsi.png
I am a total newbie in Power Pivot and I have no idea about what method would be best to get the output that I need. I have added a very small sample table, the real table is more then 1000 times bigger then this, therefor it is a must that we make use of the Power Pivot Data Model etc. for doing these calculations, otherwise doing such calculations on the real table by using normal excel column calculations etc. would hang the whole sheet.

Please suggest some ways by which we can get the desired output. And please do not suggest doing it in excel directly, without using Power Pivot Data Model, because that is not practical in my case. I need to take the help of the Data Crunching Power that is available in PPDM, because the data size is HUGE.

If you have any doubts, then please ask them, and I would explain in more details.

I am using the following software versions -
Microsoft SQL Server Management Studio version-  12.0.2000.8,
Microsoft Office 2013 x64
and Windows 7 x64

I have attached the Excel File having the data.
Coca-Cola-Pepsi-Totals.xlsx

Thanks
0
Comment
Question by:happy 1001
  • 2
2 Comments
 
LVL 30

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 total points (awarded by participants)
ID: 41824739
I think you only need to insert a Pivot Table from the Power Pivot Window.
Please refer to the attached.
Coca-Cola-Pepsi-Totals.xlsx
0
 
LVL 30

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41851716
The chosen answer is supposed to resolve the question.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linked excel chart in PPT for export to other users 7 50
Excel Macro 9 18
Index Match Array? 5 34
NEED TRANSFER  DATA 59 20
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question