+ Reply to Thread
Results 1 to 5 of 5

Wrong division in pivot calculated field!!! Need help

  1. #1
    Registered User
    Join Date
    03-11-2022
    Location
    Argentina
    MS-Off Ver
    10
    Posts
    2

    Exclamation Wrong division in pivot calculated field!!! Need help

    Hi guys,

    I am having an issue with calculated fields on pivot tables, apparently I cannot have a correct division outcome for reasons I don't understand.

    Ideas on how to solve this?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Wrong division in pivot calculated field!!! Need help

    How can we help? You have told us nothing.


    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Wrong division in pivot calculated field!!! Need help

    You'll need to provide more information to get a solution.

    Calculated fields always sum any fields in the calculation before they do anything else. So if for example you use a formula like =Field1/Field2, that will calculate as =SUM(Field1)/SUM(Field2) and not as =SUM(Field1/Field2)
    Rory

  4. #4
    Registered User
    Join Date
    03-11-2022
    Location
    Argentina
    MS-Off Ver
    10
    Posts
    2

    Re: Wrong division in pivot calculated field!!! Need help

    Hey guys, I cannot edit the post. Attaching a quick loom video to showcase the issue

    I am essentially doing the following:

    I have columx X and Y, I want to create a calculated field = X/Y but its not working. How should I correctly create a division calculated field?

  5. #5
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Wrong division in pivot calculated field!!! Need help

    If you have Power Pivot, you just need to create a measure using a formula like:

    =SUMX(Tablename,tablename[x]/Tablename[y])

    If you don't have PP, you'll need to add a column to the source data that does the division on each row.

+ 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. Creating calculated field and calculated item into a pivot table
    By dvpe in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-12-2019, 12:15 PM
  2. Wrong sum on subitems in my calculated field (pivot table)
    By laranayrana in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-09-2019, 09:25 AM
  3. Issue with Calculated filed in Pivot Table (wrong output calculated)
    By martinrt in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-18-2018, 03:11 PM
  4. Replies: 0
    Last Post: 08-15-2016, 02:07 PM
  5. Wrong Row total Calculation in a Calculated Item Field
    By DaanDean in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 11-18-2015, 02:31 PM
  6. Replies: 0
    Last Post: 06-26-2012, 09:06 PM
  7. [SOLVED] pivot table formulas for calculated field or calculated item
    By Vicky in forum Excel General
    Replies: 3
    Last Post: 06-06-2006, 12:10 AM

Tags for this Thread

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