+ Reply to Thread
Results 1 to 12 of 12

Data Model Connections

  1. #1
    Registered User
    Join Date
    07-23-2021
    Location
    UAE
    MS-Off Ver
    365
    Posts
    6

    Data Model Connections

    Hello everyone,

    I am working on a dashboard for a financial monthly reporting package and I'm using the Power Query to clean and prepare my Trial Balances and General Ledgers, load them into my data model so I can use pivot tables later on to summaries and analyze the data,

    I am trying to create a relationship ( which is the date ) between my two sources of data ( Trial Balance, and General Ledger ), in order to use a slicer at the end to filter pivot tables and look at the data on different months and so on,

    I've attached a sample of my work file to better explain the issue,


    is there any other different way that i can structure my data in a way that i can make excel identify this data set belongs to January, the other belongs to February and so on without using the column so that I may create the connection I need between the data sources ? or a workaround this so that eventually once I use a slicer to change the Date and Filter the figures that I want to look at I can only use one slicer in stead of several for each data source


    any help is appreciated, thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Data Model Connections

    Why do you want the date from GL when your TB has already got the date? The fields missing in TB and available in GL are the Classes. That's what you should want to merge, shouldn't you?

  3. #3
    Registered User
    Join Date
    07-23-2021
    Location
    UAE
    MS-Off Ver
    365
    Posts
    6

    Re: Data Model Connections

    Hey,

    thanks for taking the time and replying,

    that is not the GL, I haven't added yet I am just providing a sample of what the 2 data sets would look like and the common factor between them, if you think it would help make it clearer I don't mind providing the full GL and TB data sets

    I Don't think merging would solve anything, the 2 data sets should be separate as they will provide different info for example the TB is going to give the Balance at the end of January for the Account "Customer Receivables", which I will use in pivoting a Dynamic balance sheet,
    while the GL would provide me with the breakdown of that figure (names of the customers), which I will use in other analysis, the two need only to be linked through date,
    so that when I click on each month, the data shown in pivot tables is consistent and both are related to the chosen month

  4. #4
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Data Model Connections

    Yeah, it would be more helpful if you could provide the 2 data sets that correspond to each other. No need the full GL or TB, just some sample data that share the same Account Codes and Months.

  5. #5
    Registered User
    Join Date
    07-23-2021
    Location
    UAE
    MS-Off Ver
    365
    Posts
    6

    Re: Data Model Connections

    i am trying to attach the file but it is larger than 1 MB, also tried trimming it down but still its around 1.2-1.4 MB, is there any other way that i can send you the file ?

  6. #6
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Data Model Connections

    Attach only data for say 3 Account Codes x 3 Months for both sets of data.

  7. #7
    Registered User
    Join Date
    07-23-2021
    Location
    UAE
    MS-Off Ver
    365
    Posts
    6

    Re: Data Model Connections

    appreciate it man,

    it is attached, waiting for your comment
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Data Model Connections

    I need your data, not the PivotTables.

  9. #9
    Registered User
    Join Date
    07-23-2021
    Location
    UAE
    MS-Off Ver
    365
    Posts
    6

    Re: Data Model Connections

    Apologies I thought I loaded them into tables from the Power Query, fixed.
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Data Model Connections

    Don't know where you extracted the Source1 sheet, but all the data are here. You don't need the rest of the sheets.

    I have taken the liberty to put up BS and PL for you using PivotTable based on the data in Source1 sheet.

    If you want to see further details for say Sales (in cell M6) > right-click on the cell > Expand/Collapse > Expand > Acc. Desc. > OK.

    I am not able to test it out for you as my laptop is quite slow.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    07-23-2021
    Location
    UAE
    MS-Off Ver
    365
    Posts
    6

    Re: Data Model Connections

    Again I appreciate you taking the time man,

    the source1 is basically created by me using the Trial Balances and added manual calculations to it,
    and yes I can create a dynamic balance sheet and income statement using it but still for example if I wanted to show the daily sales volume on monthly basis ( coming from POS Report ), as well as the breakdown of the sales ( coming from GL ),
    I would need to connect the other sources to it, and that is for the ultimate goal that when the dashboard is final and ready, one slicer for the date and with a click of button choosing the month, i can see all the relevant data for that month, without having to use more than one filter and slicer for each data set,

    if you tried to create a relationship between the data sets loaded on the model, you will get the error I am getting regarding the duplicate values, which i completely understand but i was hoping you could show me a work around this error or a different way that i can construct the data so that eliminate this error

    I've created a dashboard on the same basis i can share it with you if you would like, and it involved the Revenue breakdown for example, but i had to add it manually and perform a lot calculations and Vlookups and add it as a column to the Source1 sheet ( hence having 1 data source for the pivots and can update everything using 1 slicer )
    which is why i am trying to create the connection, it would eliminate all of this manual work and save a great deal of time.

  12. #12
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Data Model Connections

    As an accountant with F&B and FMCG background, I have never try to mix my sales reports with financial statements. It's not a good idea. There is simply too much data from the POS system. And if you are going to generate combined reports using Excel, I am afraid your Excel may not cope.

    In your sample database, you have almost 1,000 rows of data every month for 2 branches (not sure how many branches you actually have). If you are going to use daily sales instead of monthly sales figures, the data will grow to 30,000 rows per month with only 1 sales category.

    Better to keep financial statements and daily/monthly sales reports separate. That's my view.

+ 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. Data from Connections
    By stvbrown2184 in forum Excel - New Users/Basics
    Replies: 12
    Last Post: 07-25-2016, 11:25 AM
  2. Replies: 0
    Last Post: 03-16-2016, 08:57 AM
  3. How to make a time period a variable for this model? (automating the model)
    By pigment01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2015, 12:47 PM
  4. Data Connections to Web
    By Larry.LeBlanc@O in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 01-09-2014, 02:34 PM
  5. Data Connections to Web
    By Larry.LeBlanc@O in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 08-29-2013, 08:15 PM
  6. Create a model that will generate a column of numbers based on model parameters
    By tncanoeguy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2013, 05:47 PM
  7. Replies: 2
    Last Post: 05-24-2012, 08:43 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