Ms lists question when filter returns no data

%3CLINGO-SUB%20id%3D%22lingo-sub-2419448%22%20slang%3D%22en-US%22%3EMs%20lists%20question%20when%20filter%20returns%20no%20data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2419448%22%20slang%3D%22en-US%22%3EI%20have%20an%20employee%20birthday%20list.%20I%20have%20used%20sample%20code%20microsoft%20has%20available%20to%20make%20upcoming%20birthdays%20show%20like%20a%20custom%20card.%20It%20does%20what%20I%20want%20and%20looks%20fine%20except%20I%20am%20filtering%20the%20list%20to%20show%20only%20those%20birthdays%20upcoming%20in%20the%20next%205%20days.%20If%20there%20are%20no%20birthdays%20in%20the%20next%205%20days%20I%20would%20like%20the%20list%20to%20say%20something%20like%20%22There%20are%20no%20upcoming%20birthdays%20in%20the%20next%205%20days%22%20is%20there%20a%20way%20to%20have%20a%20custom%20message%20of%20this%20type%20show%20if%20a%20filter%20return%200%20items.%20Maybe%20with%20the%20Jason%20formating%3F%20Or%20some%20other%20option%3F%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2419448%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor
I have an employee birthday list. I have used sample code microsoft has available to make upcoming birthdays show like a custom card. It does what I want and looks fine except I am filtering the list to show only those birthdays upcoming in the next 5 days. If there are no birthdays in the next 5 days I would like the list to say something like "There are no upcoming birthdays in the next 5 days" is there a way to have a custom message of this type show if a filter return 0 items. Maybe with the Jason formating? Or some other option?
0 Replies