Articles in this section
Category / Section

Customizing the Start Day of the Week in Bold BI

Published:

Introduction

This guide outlines the steps required to customize the start day of the week in the relative date filter, Expression, and Widget Aggregation using the Data language option in the language settings.

Steps to Customize Start Day of Week

I. Relative Date Filter

Step 1: Set Language

  • Navigate to the site settings.

  • Choose English (United Kingdom) for Monday or English (United States) for Sunday as the start day of the week.

  • Every language setting will reflect the cultural norm for the starting day of the week.

  • Save the changes and refresh the application in order to apply the new language settings.

    Customize week start

    CWS-us.png

Step 2: Create a Data Source

  • Establish a data source within your application.
  • Add a grid widget to your workspace.
  • Drag the Date field into the Column Box of the grid widget.
  • Click on ‘Week of Year’ and choose the relative date filter option.
    CWS-relativedateedit.png

Step 3: Configure Relative Date Filter

  • In the Range Box, select Week.
  • In the Period Box, choose Current Week.

For Monday’s configuration:

CWS-relativedate.png

For Sunday configuration:

CWS-us_filter.png

Step 4: Result

  • For Monday configuration, the grid widget will display the date range from Monday to Sunday (e.g., 29/01/2024 to 04/02/2024)

    CWS-grid2.png

  • For Sunday configuration, the grid widget will show the date range from Sunday to Saturday (e.g., 01/28/2024 to 02/03/2024).

    CWS-us_grid2.png

II. In Expression

Step 1: Set Language

  • Follow the same language setting steps as outlined in the previous sections.

Step 2: Create a Data Source with an Expression

  • Establish a data source within your application.

  • Add an Expression of DATEPART (WEEK, [Date]).
    Note: Use DATENAME (WEEK, [DATE]) in some plugins.
    CWS-DP-EXP.png

  • Save and preview the table for Monday – English (United Kingdom).

    CWS-UK-EXP.png

Step 3: Reset the Language and Preview

  • Change the Language to the appropriate setting and save.

  • Refresh the application to apply the new language settings.

  • Re-save the existing expression with a DATEPART week and preview the table for Sunday – English (United States).

    CWS-US-EXP.png

III. In Widget Aggregation

Step 1: Set Language

  • Follow the same language setting steps as outlined in the previous sections.

Step 2: Create a Dashboard

  • Establish a data source within your application.

  • Create a dashboard with the above data source.

  • Add a grid widget to your workspace.

  • Drag the Date field into the Column Box of the grid widget.

  • Click on ‘Week of Year’ or ‘Week year’.

    CWS-WA.png

    CWS-ADD-COLS.png

    CWS-grid-WA.png

  • Publish the Dashboard Monday – English (United Kingdom)

  • Week Of the year of 10/03/2024 (Sunday) – 10, Week Year - Week 10 2024

  • Week Of the year of 11/03/2024 (Monday) – 11, Week Year - Week 11 2024

    CWS-uk-WA.png

Step 3: Reset the Language and Republish

  • Change the Language to the appropriate setting and save.

  • Refresh the application to apply the new language settings.

  • Republish the Dashboard for Sunday – English (United States)

  • Week Of the year of 10/03/2024 (Sunday) – 11, Week Year - Week 11 2024

  • Week Of the year of 11/03/2024 (Monday) – 11, Week Year - Week 11 2024

    CWS-US-WA.png

Related Links

Please note that the images used in this guide are for illustrative purposes only and may not directly correspond to actual screens in Bold BI.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
NG
Written by Nisanth Gunasekaran
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied