+ Reply to Thread
Results 1 to 7 of 7

How to connect date values with month values? and make a summary pivot table?

  1. #1
    Registered User
    Join Date
    06-06-2023
    Location
    Tokyo
    MS-Off Ver
    2016
    Posts
    8

    How to connect date values with month values? and make a summary pivot table?

    Hello

    I want to make a summary table from four separate tables named labor, spray, fertilizer, and land rent. The data are presented daily for labor, spray, and fertilizer tables, but the data for land rent is presented monthly.

    To make a summary table, I created a relationship by using power pivot among labor, spray, fertilizer tables, and three filter tables to get the desired result. I am using filter tables because there is duplication in connecting columns. My actual problem is how can I connect the land rent table to make a summary pivot table? Because land rent data is presented monthly. Also, there is another condition that there are two types named Orchard and vegetables. Both of these types have subgroups. Orchard rent is presented combinedly (sub-groups are not important) but the Vegetable rent is presented on a sub-group basis (sub-groups are important).

    It will save a lot of my time if an expert suggests me a suitable way to achieve my desired result. Please check the attached Excel file for a better understanding of the problem. Thanks in advance.
    Attached Files Attached Files
    Last edited by Hasnat124; 07-28-2023 at 09:34 AM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: How to connect date values with month values? and make a summary pivot table?

    Perhaps this will help:
    1. Convert the data range on the Land Rent into an Excel table.
    2. Use the following Power Query Advanced Editor code to convert the matrix Land rent table into a records-based table:
    Please Login or Register  to view this content.
    3. Add the new table to the data model
    4. Replace the Filter_date table with a calendar table (Excel will make one)
    5. Pull the Rent field into the Values area
    6. Get the Total cost using: =sum(tbl_LandRent[Rent])+sum(Labor_cost[Labor cost (Tk)])+sum(Spray_cost[Spray cost (Tk)])+Sum(Fertilizer_cost[Fertilizer cost (Tk)])
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    06-06-2023
    Location
    Tokyo
    MS-Off Ver
    2016
    Posts
    8

    Re: How to connect date values with month values? and make a summary pivot table?

    Thank you very much !! Exactly I want this what you suggested.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: How to connect date values with month values? and make a summary pivot table?

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    06-06-2023
    Location
    Tokyo
    MS-Off Ver
    2016
    Posts
    8

    Re: How to connect date values with month values? and make a summary pivot table?

    Thanks, AliGw for reminding me I have already selected this thread as solved. I really want to give a reputation to JeteMc because his suggestions helps me to fix the problems in my project. But I already gave him a reputation a few days ago and now I can not give a reputation again

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: How to connect date values with month values? and make a summary pivot table?

    That's the way it is - you will be able to after you have given rep to some other members.

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: How to connect date values with month values? and make a summary pivot table?

    RE: Post #3 You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Trying to make a pivot table but have multiple values within cells
    By gbhat in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-25-2022, 09:13 AM
  2. [SOLVED] Pivot Table values grouped by month do not appear in column format
    By DAVID766 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-01-2019, 01:17 PM
  3. Replies: 1
    Last Post: 09-17-2014, 09:34 AM
  4. assigning date entries to week values and month values to sum column C-N values C-
    By the accountant in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2010, 09:52 AM
  5. Replies: 0
    Last Post: 05-02-2008, 04:38 PM
  6. make Pivot table show only available values in dropdowns
    By Yaron Assa in forum Excel General
    Replies: 2
    Last Post: 04-03-2006, 02:45 AM
  7. Pivot Table with Zero Values for Month
    By wyman in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-14-2005, 02:06 PM

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