Interactive Dashboards - What's really required to make them work?

So I get that if I have a simple Ref relationship between two tables, create views for those tables and stick them together in an Interactive Dashboard magic happens and when I select a row from one of those tables, associated rows appear in the other table.

To go a little deeper, does this really work because of the โ€œRelatedโ€ lists that are automatically created for us when we setup the Ref column?

And if so, what happens when we start slicing the data?

As an example, I have Technicians who are carved out of a list of Employees using a slice. Work Orders have a Ref column for Technicians based on that Slice. But, I also divide Work Orders into Estimates and Service Orders with Slices.

When I attempt to create an Interactive Dashboard, using a view based on the Estimates Slice and another view based on the Technicians Slice, my hope was that the Estimates would be filtered by the chosen Technician. Alas, it doesnโ€™t work (sigh). My thought is that maybe the Estimates canโ€™t be properly filtered due to all of the slicing of the data.

So, again, at a deeper level, what is required between the two tables to get the filtering to properly work? Can I create some additional thing manually to make it function?

Solved Solved
3 17 893
  • UX
1 ACCEPTED SOLUTION

Check out my video

View solution in original post

17 REPLIES 17

EIG
New Member

I know this is not the answer you are looking for what I do for any of these complicated operations is I create a python function(s) that will get the data, apply some kind of complex filtering/summing/counting/combining function then write it back to the sheet so that AppSheet can display the results on the dashboard.

Thanks for the suggestion! Its nice to know of other options. I donโ€™t think Iโ€™m quite ready to add this additional layer to the technology stack just yet but it is nice to know it is an option I can fall back on if/when needed.

The way that I handle this is with a table for ENUM. And any of those drop-downs and phases and categories are actually referenced back to that ENUM table. Then all you have to do is simply include a slice of that enough table for the categories that you want to look at on your dashboard and include the table of those items as well as the other two tables you want. Then when you select technicians and estimates and you know the rest will react

One more thing, you would need to put the filter and conditions for the enum in the data validity area of that drop down so that itโ€™s not showing the whole enum table just items you wantโ€ฆ

@Grant_Stead

Iโ€™m intrigued by your idea. Are you saying that you create this ENUM table solely for the purpose of Interactivity within the Dashaboard?

And, for the sake of discussion, if I wanted to react to a choosing of Technician, I would include a list of Technicians in this ENUM table. Next I would Ref this ENUM list in each of the other tables/slices I wanted to show in the Dashboard. Then add these other table/slice views to the Dashboard along with a table of my Technician list from the ENUM table. Is that basically it in a nushell?

Check out my video

Your video was helpful. The Interactive Dashboard is performing as I expect.

I essentially had the same construct as you but where I differed was in the Ref column definition Source Table. I had selected the Technicians Slice. Once I changed that to the base Table of Employees and then added the Data Validity using the Technicians Slice, it worked!!

So it seems that in order to get Interactive Dashboards to function properly we need to reference the Raw tables as the Source Table and not use Slices in these instances.

I think I might need to perform a little re-work in Data Validity sections due to changing from the Slice to the Table but it doesnโ€™t seem to be a big deal.

Iโ€™ll have an awesome Interactive Dashboards once Iโ€™m done!!

Thanks Grant!!!

Youโ€™re welcome, glad I could help!

A related side question, do you happen to know if the Interactive Dashboard filtering can be applied to the Secondary layer of a map?

I have a Map that shows the current location of Technicians. Unfortunately due to a bug in the Map Secondary layer which does not show LatLong info, Technicians MUST be the Primary layer. As a Secondary layer I am showing Todayโ€™s Work Locations. It would be cool if I could get the map to filter these work locations based on a selected Technician.

No, Iโ€™m sorry. Iโ€™ve yet to leverage the secondary map layer.

@Grant_Stead Could you please send the URL to your Video? It doesnโ€™t load in Chrome and Edge.

@Fabian Strange thatโ€™s not working. When I put the link in, it automatically embeds itโ€ฆ I donโ€™t know how to stop it from doing that other than thisโ€ฆ
Does it work when I do it like this?

https://www.loom.com/share/f83f6c31bb674b32ae1efb68107c8574

The link did work when you first posted it. I watched the video then. Today it shows a message that Loom.com is refusing the connection.

The link you just posted does work for me.

UPDATE: I just right-clicked on the video link in the original post and selected โ€œReloadโ€ from the menu options, that seems to refresh the video link.

@WillowMobileSys @Grant_Stead 


@WillowMobileSys wrote:

A related side question, do you happen to know if the Interactive Dashboard filtering can be applied to the Secondary layer of a map?


Did you find a solution for that? It seems that the secondary data layer is not involved in the interactive dashboard thing.

At the time, I think I just resolved to it wasn't supported.  I haven't tried again recently.

One workaround is to coalesce the primary and secondary lists together, in some way, into a single Primary list to take advantage of the interactive filtering.  This may mean re-organizing the table structure a little.  For instance, maybe you want to show in a Map both Customer and Vendor addresses.  Implement a single Address table, that the Customer and Vendor table Ref their addresses from.   This address table, or a slice from it, can then be used in a Map vie as the Primary source.  

By also tagging the rows based on their source - "customer", "vendor" - you can then use formatting to set different pin colors or icons to segregate them on the Map.  

Thank you @WillowMobileSys for this Tip.

@peterdykstra Is this a bug or why is the second data layer not respected in an interactive dashboard?

@WillowMobileSys I found one funny thing: 
I have a map view with 2 data layers. Both have a Ref column [Customer]. Beside that map view I have a detail view from the customers table. Interactive dashboard.
When I click on a map pin from the first data layer, the customer's detail view shows up.
When I click on a map pin from the second data layer, the customer's detail view does not show up.
This happens because second data layer is not respected in the interactive dashboard.
But: If the map is small, clicking on a map pin will show the deck view. When I now click on that deck view, the customer's detail view will show up.
With that I have a sort of interactive dashboard.

I don't think that this is an intended behavior. But it's cool ๐Ÿ™‚

@Steve what do you think? Bug?

Top Labels in this Space