Skip to main content
Question

PO Spend Report - Filter data by date

  • Feb 25, 2021 8:33 PM UTC
  • 0 replies
  • 32 views

Forum|alt.badge.img+11
Hi everyone,

I have a relationship with Company<Purchase Orders

I am summarizing a numeric field on the Company Table from the Purchase Orders Table for Total Committed Costs

This way I can see a value for how much we are spending by manufacturer.

Is there a way to dynamically select the date used for that relationship of the Purchase Order on my report in the Companies table?  I know I can create two relationship summary fields, one for this year and one for last year.  but what if i wanted to pull 3 years of data?  I need to create a new summary field and a new date?  Is there a way to dynamically filter this?

Thanks!

------------------------------
Ivan Weiss
------------------------------
This topic has been closed for replies.

I'm assuming you're referring to the embedded report the Company record, but I'm not clear on the relation to the summary fields. If you want to always show 3 years of data in an embedded report, you can do this a couple of different ways. Possibly the easiest would be to create a Formula Checkbox field on your PO table and build your criteria there. For this example, I would probably go with something like this:
Year([PO Date])>=Year(Today())-3​

You would then use this field in the filter for the Embedded Report.

------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quickbase Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------

MarkShnierYou
Forum|alt.badge.img+24
Ivan
I see two alternatives.

1. Create an <ask the user> Report on the PO table and make a summary report there, by company.

2. Create a single Record in a  single table with Record ID = 1 and have the date range the.  Make a relationship to all POs.  Make a summary totals by company using that global date filter.  Put the embedded report of companies as a Report Link field on the single global date record.

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