Forum Discussion

KeithHendrick's avatar
KeithHendrick
Qrew Member
3 years ago

Most Recent Record

Every month we accumulate accounting data from our balance sheet into one application with only one table and no relationships. We only generate one record per month, and each record contains only a few fields of information plus four common accounting metrics (Current Ratio, Quick Ratio, etc.).  From there we put the most recent metrics on tiles in the new dashboard (using the gas gauge report).  How can I filter the report to only take the metrics from the most recent (highest Accounting Date) record? 

I thought about something as simple as filtering the date created for the previous month, but that would not work because, for example, the July figures have not yet been entered, which is common since it takes a couple of weeks to close the books. If I used that method, it would try and fetch the record created from 7/31, which will be null since it does not yet exist.  I need some way for QB to simply choose the record with the highest 'Accounting Date' value (not Date Created).  In my little example, that would be the 6/30/21 record.  This should be easy, but I've drawn a blank...



------------------------------
Keith Hendrick
------------------------------

5 Replies

  • No problem.

    Make a new Table called Max Accounting Mth  with no fields.  Enter one record. That Record will be Record ID# of 1.

    Make a new field in your Balance Sheet Data Table called [Link to Max Accounting Mth] as a formula numeric with a formula of 1.

    make a relationship between Max Accounting Mth and the balance sheet data based in the reference field of the Link to Max Accounting Mth] field .

    Make a Summary maximum of the highest Accounting date field.  Then look that up down to Balance sheet.

    Make a formula checkbox field to identify the Accounting month where the Max Accounting Month equals the Accounting month.

    Now, finally filter the gauge report to only include the flagged record.




    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • KeithHendrick's avatar
      KeithHendrick
      Qrew Member
      Worked perfectly, Mark.  Thanks!  Follow-up question, not that I have the active (most recent) accounting month, I'd like to display it on a tile on the new dashboard.  So, how can I take that date value and convert it to a formatted numeric such that it will display on the gas gauge report and reflect the date, or is that possible?

      ------------------------------
      Keith Hendrick
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        Are you asking if the Gas Gauge report itself can somehow include a text field (ie the date) , then no it cannot.

        But I think that you are asking how you can use a different tile to show the date words for which is the Most Recent Month.  The only way I can think of right now, would be to have a small narrow report of the Active month. I tried it and I can get that to work with using up 4 "squares" of the dashboard.

        ------------------------------
        Mark Shnier (YQC)
        Quick Base Solution Provider
        Your Quick Base Coach
        http://QuickBaseCoach.com
        mark.shnier@gmail.com
        ------------------------------