The first workday does not appear as set up
I noticed that my Date Calendar Slicer shows the first workday as Sunday, even though I've set it correctly in Tenant / Tenant Default Settings.
Is there maybe another way to setup this? If not, I would have to configure it manually for each report in Slicer Settings.
I currently use the version 2023.10.129
4 replies
-
I am not sure,, but between the tenant settings and the slicer settings there might be some extra settings within your model. For example, if you use Time Intelligence you can configure the "Week Start" here as well!
Have a look at https://help.pyramidanalytics.com/Content/Root/MainClient/apps/Model/Model%20Pro/Data%20Flow/Preparation/Time%20Intelligence.htm and search for "How to Configure Time Intelligence", somewhere in the middle of this page...
Hope this helps,
Micha -
Hi ,
The First Workday in the Add Tenant dialogue has nothing to do with your models. If you consult the Help on this topic you will see that the First Workday sets the default start of the working week for scheduling tasks for that Tenant.
First working day of the week can be set per model through the advanced options of the Time Intelligence block thus:
If you are working with Direct Query models and the database concerned doe not have a calendar table with first weekday information in it, you can add a virtual calculated column in your model using the PQL function DayOfWeekNumber() that allocates a 1 - 7 day number in week based on a DateTime column.
Hope that helps.
Ian