+ Reply to Thread
Results 1 to 8 of 8

Pivot Table Measure (Text) without Aggregation?

  1. #1
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Pivot Table Measure (Text) without Aggregation?

    Creating a Pivot Table where my main row contains duplicates (sales orders, may appear multiple times depending on how many items on order)

    I created a measure to show other columns text instead of counts/sums and it works fine, however it aggregates them and shows each text with commas)

    Is there a way to create a measure where it only lists the first recorded value? In my instance this particular text string is always the same so I don't need it listed out like (item, item, item, item) but only (item)

    Here's what I am using for my current measure
    Please Login or Register  to view this content.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,998

    Re: Pivot Table Measure (Text) without Aggregation?

    If they are all the same value, then you can wrap the field in a VALUES() function to only get unique values back.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Pivot Table Measure (Text) without Aggregation?

    Are you saying instead of using
    Please Login or Register  to view this content.
    Just use
    Please Login or Register  to view this content.
    Tried this but giving me some kind of error about expecting single value but getting multiple values.

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,998

    Re: Pivot Table Measure (Text) without Aggregation?

    No I meant something like:

    = CONCATENATEX(VALUES(SalesData),[CustomerSalespersonName],", "))

  5. #5
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Pivot Table Measure (Text) without Aggregation?

    Oh lol I am dumb..this stuff is new to me, appreciate it will try that out.

  6. #6
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Pivot Table Measure (Text) without Aggregation?

    That one throws errors - but it had an extra )

    However this gave me the same result where it lists all values with a comma (even though they are the same).

  7. #7
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,998

    Re: Pivot Table Measure (Text) without Aggregation?

    Try:

    = CONCATENATEX(VALUES(SalesData[CustomerSalespersonName]),[CustomerSalespersonName],", "))

  8. #8
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Pivot Table Measure (Text) without Aggregation?

    That works, thank you

    Another question, is there anything that would make these CONCATENATEX not work? I have a huge data set and I made a Measure but it will not populate. If I reduce my rows then it does. Is there a limit to rows or something else that could cause it to not work?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Calculated measure in Pivot Table
    By fher97 in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 06-15-2021, 12:58 PM
  2. Problem with CONCATENATEX measure in pivot table
    By Jayjay33 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 03-17-2021, 08:24 PM
  3. Replies: 4
    Last Post: 07-01-2020, 02:13 AM
  4. Pivot Table: Grand Total different measure from Column measure
    By chinneywow in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-07-2019, 06:22 AM
  5. pivot table with DAX measure
    By mlaxx in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-12-2019, 02:24 PM
  6. Pivot Table Calculation (Measure) Formula Help
    By sovietchild in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-21-2018, 10:31 AM
  7. Replies: 1
    Last Post: 06-19-2006, 03:25 PM

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