Search - Missing Dates from the Entered Data

Hi all,
I am trying to create a search view (can be similar to Search multiple columns with different criteria) where I need to show the dates, between the two selected dates, where I have no data.

I have a table collecting daily attendance data. Based on the different criteria like Department, Manager, I would like to show the search result which has the dates on which there is no data!

Thank you.

0 30 1,220
30 REPLIES 30

Hi, do you have those records but without data in your table?

HI @Aleksi,
No. I have the dates only where data is entered.
The search just shows the dates (between the Start_Date & End_Date fields) where there is no data.

Thank you.

Then it could be something likeโ€ฆ
SELECT(Table[KeyColumn],AND([DATE]>[_THISROW].[START],[DATE]<[_THISROW].[END],ISBLANK([Column])))

I will try this also.
Thank you @Aleksi.

Actually, I misunderstood your reply. Then solution by @GreenFlux is the one you are looking for.

Ok.
But, is there way to just get the dates between two dates?

For that you would need another table with ALL dates that relates back to your main table. From there you can COUNT() the [Related Records] to your main table and find the dates with zero related records.

My question is, is there a way to just filter / list- / select the dates where there is no data between the selected dates?
If not, I just need to know a way where there is a list which shows all the dates between two dates, from where I shall subtract the dates which are not empty.

Thank you.

You canโ€™t search for a row that doesnโ€™t exist. But you can add a table with a new row for each date and search from that table. The feature you want can not be done without adding a new table, just like in my sample app you referenced.

  1. Add DateSearch table with one row for every date
  2. Add a Ref-Type virtual column to your main table, and relate it to the DateSearch table
  3. the Ref_Rows column will be generated automatically in your DateSearch table
  4. Add a virtual column in DateSearch to COUNT() the Ref_Rows

Another Approach:
If you donโ€™t want to add a new table, another approach could be using a formatting rule to highlight entries that are more than a day away from the previous/next entry. This wonโ€™t give you a full list of dates, but it would draw attention to gaps.

Wowโ€ฆthis is appealing!
Thank you.

Okay. I think I need to make it clear for u to help me better.

I am looking to have a Search_View where the User searches by Name or Manager name,
The results would be the list of total no. of dates (days) where it is empty.

I have two tables,
Parent - Just to get the basic details of the Associates, like Department, Manager.
Child - The attendance data of the selected associate.

I am trying to fetch data from Child table.

If I am supposed to follow your suggestion, how can I get the result list showing Date, entries.

Thank you.

Hi @GreenFlux, is it possible to have a result view,like what I have mentioned above,
similar to your Search App?

Yes, if you follow the steps that I outlined above, and add a new table with a row for each date you want to search.

Iโ€™m tied up with work but if you give me a few days I can throw together a sample app.

Great!
please take your time.
Thank you.

Hi @GreenFlux,
Just a gentle reminder to know whether you are able to extend your support on this?

@Kanha_PM_Office, whatโ€™s your email address?

I started a demo app that may help you, but itโ€™s nowhere near polished enough to post as a public sample. Iโ€™ll share it with you directly though.

I am messaging to you personally.
Thank you so much for your effort & time in spite of your schedules.
I have also seen,this app
https://community.appsheet.com/t/re-calendar-view-using-interactive-dashboard-filter/23010/2

I was thinking, this view shall solve our purpose. Have requested @Dan_Longley for a preview or just this app_view to share.
(This is just for your idea)

Thank you!
Kudos to the community!

Do you only need to show dates as a list or like a table view?

Well, the reason why I asked this is to have the โ€œResultโ€ to show like,
Search by : (Name) or (Manager, Department)
Based on the search field data,
Date - Count of All Associates - Count of Available Data (or Missing Data)
26 Mar - 35 - 10
27 Mar - 35 - 35
28 Mar - 35 - 0
.
.
30 Apr - 35 - 5

This would save lot of time for the users in just searching for their details instead of looking in the whole table.

Thank you for your time & effort.

Hi @Aleksi, @GreenFlux,
How do I select particular Columns to be shown in the results?
2X_8_849fbecfa8eaca182eccd9e15b02645ef8a42cad.gif

I would be glad if I get the Date values shown instead of just name as shown on the screen record.

Thank you.

You would need to open the system generated inline view for that table. Then you can set your columns with the โ€œColumn orderโ€ option.

Wowโ€ฆ! Thank you.

Successfully, I have got the dates on which the entries are made.
Now, I need to know the dates when entries are empty!
For that, I need to follow @GreenFluxโ€™s idea in the previous post?
Do you, @Aleksi have any more suggestions?

One option is if you create Dashboard View where you have month as a ref instead of a date table. Then you donโ€™t need to save anything.

Ok. iโ€™ll try that.

Thank you.

How can I make it just as a Search view without โ€œSaveโ€ & โ€œCancelโ€ ?
Which view type is to be used as in Form view, Detail view, I have โ€œSave & Cancelโ€
I donโ€™t need to save this. I just need to display the results!

I guess, I have already discussed this with @Steve, to have this feature.

EDIT : Adding the link.

Thank you.

How many days is the difference between start and end date?

It would be a Maximum of 31 days.
May I know why it matters?
Is it matter that, this count is necessary?
Can it be done for more than that?

Iโ€™m thinking a detail with quick editable start date. Something likeโ€ฆ

Yeah. This would be great!

Top Labels in this Space