+ Reply to Thread
Results 1 to 7 of 7

pivot table with DAX measure

  1. #1
    Registered User
    Join Date
    06-05-2019
    Location
    romania
    MS-Off Ver
    2016
    Posts
    47

    pivot table with DAX measure

    Hello,
    I would like to use the table in columns a, b, c to generate a pivot table like that in column j and y.
    I know that a DAX formula is needed to be able to display text in pivot tables, but I'm a beginner and so far I have not found the right formula. A little help if you can?
    Note: I use Excel 2013, not PRO version. But I installed the powerquery addin. Unfortunately, I can not use powerpivot.
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: pivot table with DAX measure

    Format your source data as a table.

    Use Power Query to query that table, and Load To Data Model.

    Insert a pivot table based on the Data Model.

    Right click on Data Model table in pivot list, and Add Measure.

    Add a measure:
    Please Login or Register  to view this content.
    Use this measure in your pivot table.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    06-05-2019
    Location
    romania
    MS-Off Ver
    2016
    Posts
    47

    Re: pivot table with DAX measure

    olly thx. I have used you formula in measure. Only one question" why the order of order isnt the same?
    Capture.PNG
    Last edited by mlaxx; 06-12-2019 at 02:12 PM.

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: pivot table with DAX measure

    Invalid attachment. Not sure what you mean?

  5. #5
    Registered User
    Join Date
    06-05-2019
    Location
    romania
    MS-Off Ver
    2016
    Posts
    47

    Re: pivot table with DAX measure

    the orders c1 c2 ..in pivot table dont remain ordered c1 c2 ...c18

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: pivot table with DAX measure

    No, they're sorted alphabetically.

  7. #7
    Registered User
    Join Date
    06-05-2019
    Location
    romania
    MS-Off Ver
    2016
    Posts
    47

    Re: pivot table with DAX measure

    ok. i supose a easy solution for this problem isnt. thx olly.

+ 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. Replies: 1
    Last Post: 01-15-2019, 08:54 PM
  2. Data Model Pivot Table - Measure Issue
    By CraigsWorld in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2018, 02:54 AM
  3. Pivot Table Calculation (Measure) Formula Help
    By sovietchild in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-21-2018, 10:31 AM
  4. Power Pivot: Adding a measure to a Pivot Chart
    By jlt199 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 12-22-2017, 12:40 PM
  5. Powerpivot Calculated Measure to remove blanks from pivot table/chart
    By hbusche in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-17-2013, 01:23 PM
  6. Replies: 1
    Last Post: 11-29-2011, 10:52 PM
  7. [SOLVED] Please respond: Need to create additional measure in pivot table
    By Angel in forum Excel General
    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