+ Reply to Thread
Results 1 to 16 of 16

Pivot table is not working well

  1. #1
    Registered User
    Join Date
    11-10-2022
    Location
    Berlin
    MS-Off Ver
    office 365 student
    Posts
    58

    Pivot table is not working well

    Hello, good morning

    I'm trying to create a pivot table with data segmentation by month.

    I have these columns in my main table


    Date, Month, Day of the week, Time and Content

    In content I have:

    Image
    Video
    written post



    I wanted to create a pivot table and insert segmentation data to show how many images, videos and posts were written in that month. For example:

    Image - Video - Written post TOTAL
    April 3 2 5 10



    In May, I didn't make any posts, so zero should appear in Image, video and written post


    I tried to do it in different ways, but it doesn't work

    The problem is that when you click on December, the total Video is in B5, so 1 appears and it is correct, but in June there is no video, but there is a written post, the table adjusts and the total of the written post goes to B5 as well and it is wrong

    Could someone give me a hand? Follow the file



    thank you very much
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Pivot table is not working well

    maybe this one

    btw, size of Pivot Table is dynamic
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-10-2022
    Location
    Berlin
    MS-Off Ver
    office 365 student
    Posts
    58

    Re: Pivot table is not working well

    Hello Sandy666

    thanks for answering.

    I saw that you put it to count and not add. It got better. Thank you very much.

    But still have a problem. I wanted to show the values on the Dashboard. I'll give you an example.

    If you click on June, you will see that the pivot table will update to

    (B4) Image - 1
    (B5) Write post - 1
    Total - 2

    But when you click on July it will look like this
    (B4) Image - 1
    (B5) Total - 1


    The dashboard will show the wrong value, because I defined that B5 refers to the written post and not the total.

    many thanks

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Pivot table is not working well

    ok, check this
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-10-2022
    Location
    Berlin
    MS-Off Ver
    office 365 student
    Posts
    58

    Re: Pivot table is not working well

    It is nice, I didnt know that I could do this ways.

    I wanted to leave it static
    Image (icon)
    Video (Icon)
    Written post (icon)
    If you have not placed any video posts in that month, zero would have to appear.

    I dont know if it is possible in this way

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Pivot table is not working well

    if you want a static column with Content then Pivot is no longer Pivot

  7. #7
    Registered User
    Join Date
    11-10-2022
    Location
    Berlin
    MS-Off Ver
    office 365 student
    Posts
    58

    Re: Pivot table is not working well

    What I am looking for is something like this

    Image - Video - Written post
    June 3 1 0



    When I Change the month it will appear


    Image - Video - Written post
    May 1 4 0

    The only thing will change will be the month and the values, the Image, video and Wrtitten post will be static

    I dont know if I can do it. I tried do insert a new column on my main table(year - 2022), but didnt work out

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Pivot table is not working well

    you want horizontal "table" with static headers and dynamic values

    correct?

  9. #9
    Registered User
    Join Date
    11-10-2022
    Location
    Berlin
    MS-Off Ver
    office 365 student
    Posts
    58

    Re: Pivot table is not working well

    yes. I dont know how do it. Do you I have to select an option becuse the Pivot table change the headers, values

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Pivot table is not working well

    Quote Originally Posted by alexsantos1990 View Post
    Pivot table change the headers, values
    because that's how pivot works

    so try without Pivot
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    11-10-2022
    Location
    Berlin
    MS-Off Ver
    office 365 student
    Posts
    58

    Re: Pivot table is not working well

    it is perfect Sandy666, thank as lot


    How did you lock the headers (Image, video and Written post)?

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Pivot table is not working well

    as I said: no pivot, this is a Power Query table created from source table

  13. #13
    Registered User
    Join Date
    11-10-2022
    Location
    Berlin
    MS-Off Ver
    office 365 student
    Posts
    58

    Re: Pivot table is not working well

    ok, I dont know about Power Query, I will see a video about with it

    thanks

    Have a great day

  14. #14
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Pivot table is not working well

    will be better to read here: Learn Power Query than any video

    so...



    if the problem is solved mark the thread as SOLVED (top above your first post - Thread Tools)

  15. #15
    Registered User
    Join Date
    11-10-2022
    Location
    Berlin
    MS-Off Ver
    office 365 student
    Posts
    58

    Re: Pivot table is not working well

    OK, thank you.
    I'll read about it because I've heard about power query but have no idea how it works.

  16. #16
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Pivot table is not working well

    You are welcome

    PQ is powerful and useful tool

+ 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. Powerpivot Calendar Table w/ one to many relationships not working in pivot table
    By lastobie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2021, 04:09 PM
  2. Replies: 1
    Last Post: 03-23-2017, 03:53 PM
  3. Pivot table not working right
    By managingcrap in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-07-2014, 02:43 PM
  4. Pivot Table select all Pivot Items not working as intended
    By rasonline in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2014, 05:22 PM
  5. working w/ the pivot table
    By zazzz in forum Excel Charting & Pivots
    Replies: 13
    Last Post: 06-07-2013, 08:56 AM
  6. Forumla not working in Pivot table
    By jonnykhan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-29-2012, 03:31 PM
  7. Why isn't my pivot table formula working?
    By Justin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-26-2005, 04:05 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