Dashboard view with filtered records

Hello community,
I’m looking for a solution to link with a dashboard view with filtered items, starting from a deck view.
I have 2 tables:

  1. ‘Jobs’ confirmed by operators with building and month columns.
  2. ‘buildings’ with columns ‘name’ and ‘month’.
    User adds buildings in second table (deck view) filling ‘name’ and ‘month’ columns.
    I desire to create an action going to a dashboard views with only filtered jobs table based on ‘name’ and ‘month’ specified in each row of table 2 where action starts.
    I tried with:

LINKTOFILTEREDVIEW(“dashboard”,
AND(
CONTAINS([month], [_THISROW].[month]),
[building] = [_THISROW].[building]

But all rows are returned. I red about some problems about using LINKTOFILTEREDVIEW with dashboard, so how can I solve the problem?
Maybe creating a custom link?
Thanks for your help.

Solved Solved
0 11 4,324
1 ACCEPTED SOLUTION

I think you may want to check into Interactive Dashboards. In your case, you would add a third view to the dashboard that acts as the control. Select the control record you wish and the other two views will automatically filter based on the chosen record.

The article below discusses Interactive Dashboards and has an animation showing how it could work. Once yo understand them, they are very, very easy to setup.

View solution in original post

11 REPLIES 11

First, just to be clear “dashboard” is an actual Dashboard type view showing two or more other views together?

If so, then your function will not work as written. The view specified in LINKTOFILTEREDVIEW() needs to be one that can apply the filter logic to reduce rows. Dashboards do not have rows, just a set of views.

Can you show an image of your dashboard to make it more clear?

Hello John,
thanks for your help.
Yes, dashboard (img 1) is intended to put together two different but related views, jobs list and calendar.
Deck view (img 2) is a sort of check view for user: adding buildings, each of them has its information.
User can also specify month he’s working on.
Action is supposed to link with dashboard where only filtered jobs are shown, based on the name of building (so in the example, action for ‘6-condominio primula’ should give me only jobs related to this building in dashboard view).
Instead, all records are reported at the moment.
How could I do?
Thanks


2X_6_62633d24e23338272eb5da91ab9e45d11c3bd660.png

I think you may want to check into Interactive Dashboards. In your case, you would add a third view to the dashboard that acts as the control. Select the control record you wish and the other two views will automatically filter based on the chosen record.

The article below discusses Interactive Dashboards and has an animation showing how it could work. Once yo understand them, they are very, very easy to setup.

Thanks John,
I knew dashboard functionalities but I didn’t figure out how to set up for my goals.
Now it is solved.
Thanks!

How do you unselect a row in order to see all the rows like in the begining view?

I assume yo mena in an interactive dashboard? You should just be able to tap on that same row again to deselect it.

HI @WillowMobileSystems you may also be able to answer my similar question.
I have a dashboard that displays a full year’s data until the user selects a month. The chart then filters the data to only display a chart for the relevant month.
However, it’s a line chart and it’s a lot of data. So I’d like the first month to be selected when the user first starts up the dash. Do you know how I might implement this default selection behaviour?

When a user selects a month, how does your app switch from a chart with a year’s of data to a chart for the month? Do you have a new view you navigate to? Are you using the LINKTOFILTEREDVIEW() function?

Excellent question @WillowMobileSystems

I’m using a dash with two filter tables and a resultant chart. The Dash is in interactive mode. So in the image above, the user selects a day (in the Filter by day table) and then a parameter (in the Filter by Tagname table).

So when the user has selected a single day and a single tag, there are only a few 100 data points. But until they select this there are 1000’s! I’d like the default to be that there is one day and one tag selected when the user first fires up the Dash.

Maybe it’s impossible.

I m not aware of way to pre-select a row within a view. I would recommend to re-post this question (along with the image) in a NEW post. More community members will see it that way and maybe one of them has an idea to help you.

At the very least this sounds like an excellent Feature Request.

This could be an old post, but commenting just to give some insights as I was trying to do what the OP is saying.

It's a little clunky but somehow, using LINKTOROW("Primary Key", "Dashboard") worked for me.

Top Labels in this Space