Afternoon all,
I am having problems with a formula, and wondered if anyone could assist?
txt_Tuesday.Text currently has a value of 01:00 which is SUPPOSED to be 1hr.
When I run the below formula, it sees 01:00 as a TIME, so when it minuses the 7 hours, it gives me 6pm the previous day. I want it to show as -6 hrs.
Thanks,
Paul.
Sorry for the late reply - I am afraid none of the above formulas worked for me. Thanks anyway.
Try this,
Filter(
Site_Visits2,
(
IsBlank(Prisonpicker_1.Selected.'Site/Name') || PrisonName = Prisonpicker_1.Selected.'Site/Name'
) &&
(
IsBlank(ppPeoplePicker_1.Selected.'Site/Name') || Engineer = ppPeoplePicker_1.Selected.'Site/Name'
) &&
(
(drpStatus_1.Selected.Value = "All" && StatusX <> "Complete") ||
(drpStatus_1.Selected.Value = "Complete" && StatusX = "Complete") ||
(drpStatus_1.Selected.Value <> "All" && drpStatus_1.Selected.Value <> "Complete" && StatusX = drpStatus_1.Selected.Value)
)
)
Same result as the 1st one I'm afraid, no errors, but I still see Completed items in my List. I only wanna see Completed Items when I select Completed from the filter. default should be Pending and Required (without Completed)
Thanks,
Paul.
Try this formula,
Filter(
Site_Visits2,
(
IsBlank(Prisonpicker_1.Selected.'Site/Name') Or PrisonName = Prisonpicker_1.Selected.'Site/Name'
) &&
(
IsBlank(ppPeoplePicker_1.Selected.'Site/Name') Or Engineer = ppPeoplePicker_1.Selected.'Site/Name'
) &&
(
drpStatus_1.Selected.Value = "All" And StatusX <> "Complete" Or
drpStatus_1.Selected.Value <> "All" And StatusX = drpStatus_1.Selected.Value
)
)
Thanks!
If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.
Hi Rajkumar_404,
Thanks for the reply. Unfortunately the formula does not work - no errors, all filters work correctly, but I still see completed when this should be omitted unless selected in the dropdown.
Thanks.
Paul.
Try this formula,
Filter(
Site_Visits2,
(Prisonpicker_1.Selected.'Site/Name' = Blank() Or PrisonName = Prisonpicker_1.Selected.'Site/Name'),
(ppPeoplePicker_1.Selected.'Site/Name' = Blank() Or Engineer = ppPeoplePicker_1.Selected.'Site/Name'),
If(
drpStatus_1.Selected.Value = "All",
StatusX <> "Complete",
StatusX = drpStatus_1.Selected.Value
)
)
Thanks!
If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional