SwiftUI: DatePicker Hours and Minutes Restriction but not date - swiftui

I came across a situation where I needed to restrict a SwiftUI's DatePicker selected hour, but still allow free selection of the day. This would be useful if you wanted to allow a user to select a date/time during set business hours.

Related

Disable data refresh google data studio

Possible refresh frequency in Google Data Studio:
15 Minutes
1 Hour
4 Hours
12 Hours
Custom, however at least once every 12 hours
Can I disable refresh on my Datasources or make them less often?
The thing is that during the updating of data extra money is spent, and I would like this does not happen.
So, the possible solution is to create 'extracted data' from an existing data source.
Follow these steps:
Go to your Google Data Studio dashboard
Add new data source, you need 'Extract Data' in the connectors list
Select an existing data source to extract from
Select the dimensions and metrics to extract by dragging them from the Available Fields list onto the targets, or by clicking Add. All the fields you add appear in the list on the far right.
Click 'SAVE AND EXTRACT'
Here's the link
https://support.google.com/datastudio/answer/9019969?hl=en

PowerBI Auto Refresh

Good Day
A client I am working with wants to use a PowerBI dashboard to display in their call centre with stats pulled from an Azure SQL Database.
Their specific requirement is that the dashboard automaticly refresh every minute between their operating hours (8am - 5pm).
I have been researching this a bit but can't find a definitive answer.
Is it possible for PowerBI to automaticly refresh every 1min?
Is it dependant on the type of license and/or the type of connection (DIRECTQUERY vs IMPORT)
You can set a report to refresh on a direct query source, using the automatic report refresh feature.
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-automatic-page-refresh
This will allow you to refresh the report every 1 minute or other defined interval. This is report only, not dashboards as it is desktop only.
When publishing to the service you will be limited to a minimum refresh of 30 mins, unless you have a dedicated capacity. You could add an A1 Power BI Embedded SKU and turn it on then off during business hours to reduce the cost. Which would work out around £200 per month.
Other options for importing data would be to set a Logic App or Power Automate task to refresh the dataset using an API call, for a lower level of frequency, say 5 mins. It would be best to optimise your query to return a small amount of pre aggregated data to the dataset.
You can use Power Automate to schedule refresh your dataset more than 48 times a day. You can refresh it every minute with Power Automate, it looks like. I can also see that you may be able to refresh your dataset more frequently than that with other tools.
Refreshing the data with 1 min frequency is not possible in PowerBI. If you are not using powerBI premium than you can schedule upto 8 times in a day, with the minimum gap of 15 minutes. If in case you are using PowerBI premium you are allowed to schedule 48 slots.
If you are not able to compromise with the above restrictions, then it might be worth to look into powerBI reports for streaming datasets. But then again there are some cons to that as well, like they work only with DirectQuery etc etc.

Dynamic filters with power bi reports

I have a very big database with a lot of tables. Let’s imagine this is Amazon customer database.
I have several users which want to make queries on this database. For example : « give me all customers which live in this area, are between 20 and 30 years old, have spent between 200 ans 300$ in 2017 and which did not made any order last 6 month and which visited product pages talking about video games last 3 days ».
Queries can concern every table and every field. I do not Know at development step which criteria will be needed by users. It can change every day.
What i need is to provide an universal query tool.
I have deployed power bi and i need to add dynamic filters inside the report but i do not know how...
My problem is i want to embed filters INSIDE the report
Thanks

How to insert mini calendar image by url

I'd like to put a mini calendar of the current month and next month into a document. I can insert images by url into most document programs, so I was hoping to find a free service out there that serves up images of mini month calendars. The idea being I would never have to worry about changing the calendar image, no matter when I print the document in the future.
Is there any services out there that can provide a basic image?
If it isn't clear what type of calendar I'm looking for, I just need an "at-a-glance" month, just like one of the months shown in this image:
If you're willing to use bootstrap, you could give this a shot: http://www.bootstrap-year-calendar.com/
Here's another one that just uses jQuery:
https://www.jqueryscript.net/demo/Full-Year-Calendar-Generator-jQuery/
You wouldn't have to worry about a third party service going down, since the calendar code would all be hosted on your own site.

A better django datetime filter at the admin panel

Greetings,
I would like to know if there is any already developed plugin for Django admin to have a better filter for the given date/datetime to filter between the given date interval instead of "today", "last week" etc..
Thanks
You might have a look at my split date-time widget. It provides a text input for the date, which you can attach a JavaScript date picker to, and two drop-downs for hours and minutes. The hours can be 12 or 24 hour based.