Results 1 to 4 of 4

PowerPivot SUMIF type Calculated Column ERROR

Threaded View

  1. #1
    Forum Contributor
    Join Date
    05-18-2004
    Location
    Portland, Oregon
    MS-Off Ver
    2016
    Posts
    182

    PowerPivot SUMIF type Calculated Column ERROR

    Hello All,

    I thought this was pretty straight forward in PowerPivot, but I am missing something.

    I have a basic table (I thought) where I have several columns of product attributes, 1 column with YEAR, and a Key Figure (quantity). It is set up very simply for pivot tables.

    I want to be able to have a calculated column that SUM's the Key Figure (quantity) for each of the product attributes and year combinations.

    Here is how the data structure looks:

    [CUSTOMER] | [ATTRIBUTE 1] | [ATTRIBUTE 2] | [ATTRIBUTE 3] | [ATTRIBUTE 4] | [YEAR] | [QUANTITY] | [Calculated Column - Total Quantity filtered to attributes in row]

    For each combination of attributes and unique year (not customer) I want to see the sum of the quantities.

    You can see the attached dummy data (not in PowerPivot) for what I mean. My real data set is much bigger as you would imagine.

    I tried =CALCULATE(SUM([QUANTITY]),[ATTRIBUTE 1],[ATTRIBUTE 2],[ATTRIBUTE 3],[ATTRIBUTE 4],[YEAR]) in a Calculated Column.
    but I keep getting errors. =SUM([QUANTITY]) works just fine on it's own. But I need to find the sum of all the quantity for the relevant attributes + year...

    This is just 1 step in my project and I am stuck now.

    Any thoughts? Am I just missing understanding the syntax for DAX?

    Thanks,
    Matt
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Find Function in Calculated Column in PowerPivot always returns ERROR
    By Jennifer90 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-03-2014, 05:35 AM
  2. Replies: 2
    Last Post: 06-02-2014, 09:34 AM
  3. New calculated Field in Powerpivot
    By ehardway111 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-22-2013, 03:07 PM
  4. Replies: 0
    Last Post: 11-20-2012, 05:34 AM
  5. Replies: 0
    Last Post: 06-22-2012, 07:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1