I have a dashboard that shows a couple of views. One view shows the rows of people who have โClocked in.โ And a second view on the dashboard gives the details of that row. I want a third view on the dash that, when a row is clicked, the view brings up all of the past times that person has clocked in. It basically shows the โClocked inโ view again but with only that personโs history of clock-ins. Is it possible to do this with an inline view? I tried adding a column that would filter out the data as a list and then created a slice that only consisted of that filtered column, but when I added it to the dashboard, it didnโt look as nice as what an inline view would be. Any help would be great!
Inline views are typically auto-generated views that host one of the other normal views:
Which type of Inline view are you looking to show and what visually appeals to you about the Inline view over the โstandardโ view? I am only asking in case we can prevent โextraโ work needed to show the inline view in the way you want.
Iโm looking to show the deck view.
Below is my inline view on my database dashboard. This looks and works like I want it to. I can click on the personโs name and this inline view shows me all the times that person has logged in. I did this by referenceing.
I want the same kind of thing on my login (aka โClock-Inโ) dashboard. I want to be able to click on one login entry and it displays the login history of that corresponding person in an inline-looking type of view. Below is what I have currently put together. Itโs basically displaying a slice that displays one column from my login table. That one column is a filtered list of all the times that person has โclocked-in.โ This works for the most part but doesnโt look the way I want it to. There is extra space at the top that is not needed.
I only learned about AppSheet two weeks ago, so bare with me if my knowledge seems subpar.
Th bottom view is actually an inline view. You can tell because it has the โView(2)โ text at the bottom.
Here is what I would do.
I would get it working this way first and then if you need to adjust what is viewed and need help with that, post back here.
So I made a slice that consists of all of the login history and created a ref view. I added it to the dashboard, but when I click on an login, the ref view still shows all logins. Is there something extra I need to do to the slice?
The Dashboard should be set to interactive. Did you turn on the property?
Yes, I made sure that was on
Ok, then you may be running into an issue where you donโt have the same data/column represented in the two views to โassociateโ rows between the two together.
For example, in your Clocked In view that lists people who have clocked in - letโs say they are filtered from a table called โEmployeesโ. In your History View, it must have a column for the person containing that personโs ID from the Employee table - normally done with a Ref column. This โassociatesโ the two rows producing a โlinkโ if you will so the Dashboard knows how to filter the rows.
I have run into issues where I used Slices and for some reason the โlinkingโ didnโt take. Once I switched so that the view was referencing the base table directly then all worked like a dream!! I never followed-up to understand why.
Point is that you need to have similar data represented in both datasets used in the views and it needs to be based on IDโs to properly activate the interactivity.
I understand. What I have are two tables: #1 is a table that holds all of the of my people; and #2 is a table that holds all the logins. In table #1, everyone is given a unique personal ID which I have marked as the โKeyโ for that data set. On table #2, when a login is created, a unique login ID is also created for that corresponding login which I have marked as โkeyโ for that data set. Each login entry has their own unique login ID (key), but It also containโs that personโs information which includes their unique personal ID.
In Table #2, is the unique personal ID stored in a column of type โRefโ?
Yes that is type โRefโ
Ok, and your interactive dashboard is not working?
Could you add some images to show what you have built? Pictures of the Dashboard view and of the table columns would be very helpful.
Here is the dashboard view of my Table #1 (that holds all of my people). This works perfectly with interactive mode and such. I hope you donโt mind that I had to black out some private information.
And here are some of the columns from that database that might be useful:
Here is my Table #2 (the login table). This works for now, but I donโt like the look of the details view in the top right.
And here are some of the columns from that table that might be useful: The Column #13 (Visits) is the column Iโm currently using solely for that top right view.
If you need any more info from me, let me know! I do appreciate you taking your time to help me.
@Jacob_Peters Hi Jacob! I wonder if you were able to solve this?
User | Count |
---|---|
15 | |
14 | |
8 | |
7 | |
4 |