I have two tables taken from airtable “Conversations_Brand” and “Invoices_Jan”
Both of them have a Created Data column in them.
“Conversations_Brand” also has a dropdown called status which has two option “Confirmed” and “Negotiation”
I have another View called Dashboard which gives me the total of filtered data from Invoice and Conversations based on status.
Right now I am able to get the totalled data from these tables based on selected status for particular user.
I Will place a range picker in my Dashboard screen. how do I get to pick data from multiple sources
Would it work if add one more filter in my query data type which would specify range from and end date along with status filter ? What do you guys recommend?
Do I need to convert the Start date in each of the table “Conversations_Brand” and “Invoices_Jan” into the mathematical formula for Month , and year? or is there any simpler method?
https://www.youtube.com/watch?v=AVSavEhdt6Y I have followed this tutorial. I have got filter working. But how do I make the change to get the selected status values total from the table with name “Conversations_Brand”
this example shows fetching values and sorting it based on range from singular table. I would want to do it from multiple tables. I am a little confused as to how to achieve that.
Do you actually want to combine the data from both tables, or do you just want your filtering to be applied to both tables?
If the latter, all you need to do is add two single value columns to each table. One that takes each of your user specific start and end dates. You can then use these in a query column into each table, and finally do your rollups through the queries.
If the former, possible but complicated. If you really want to combine filtered data from two tables, then you probably should consider refactoring to combine the two tables permanently.
I just realised that this formula for converting date is wrong.
Ill be using this formula for both
year(date)*10000+month(date)*100+day(today)
Could you tell me an accurate formula that I can use?
Also I did the roll up on the query column and got the output.
Now I’ll do the same thing on the other table. How can I get the output from two different tables into one view. Isn’t that something we cant do in glide?
The above gives the same result, but takes less brain power because you don’t have to count the zeros
Just taking a step back…
You are kind of on the right track, but not quite there.
Firstly, you need two columns to store the user supplied start and end dates. These columns could be anywhere, as long as you can target them from the current screen. I usually have them either in the User Profile row, or in a single row helper table. If you put them anywhere other than the user profile row, then they must be user specific.
Next you need two math columns to convert each of those to numbers in YYYYMMDD format, using the above formula.
In your data tables, you need the same math columns to convert the date on each row to the same format
Now add two query columns to the same table where you are capturing the start/end dates. Each column should target one of the data tables, and use the following filters:
– Start Date Math is equal to or less than This row->Start Date Math
– End Date Math is equal to or greater than This row->End Date Math
Now you should be able to do your rollups through the two query columns.