Hi, I had one column named Time Filter.
I want to get the time range from 6am to 6pm or any time that I want to filter
how can I filter it using dropdown ? give suggestion please.
1. Add two dropdowns to save hours (from 0 to 23)
2. Use the Text function to convert the date column of the data source to hours.
3. Use the Value function to convert the string returned by the Text function to a number.
4. Use the Filter function to filter.
Could you please provide a screenshot of how you are setting the dropdown's items property?
Make sure that the array you enter in the items property of the dropdown contains numeric data rather than strings.
Can you show me how you designed your dropdown?
According to the test I showed you, if you want to display between 6am and 6pm, you should choose six in the first dropdown and 18 in the second dropdown.
my data source name is Breakages , the name of my column Date and Time.. format is like this Sunday, September 11, 2022 6:55:10 AM
I use below codes however It shows blank. 😞
Filter(Breakages,Value(Text(ThisRecord.'Date and Time',"h"))>=Dropdown1.Selected.Value&&Value(Text(ThisRecord.'Date and Time',"h"))<=Dropdown1_1.Selected.Value)
This may be caused by the time difference issue, the time in powerapps shows the local time.
If your data source is SharePoint, the time column is in UTC time.
Keep up to date with current events and community announcements in the Power Apps community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!