I’ve recently updated my Quick Sight analysis to start the week on Monday.
To achieve this, I created a calculated field that returns the start of the week. When I add this calculated field to a visual, it correctly shows the Monday of each week as expected.
However, when I create a filter using this same calculated field, the filter doesn’t seem to respect the “week starting on Monday” rule — the available values in the filter are different from the ones shown in the visual.
Has anyone experienced this issue before?
Is there a way to make the filter reflect the same “week start on Monday” logic as the calculated field?
Thanks in advance for any help!
where v_week:
toString(formatDate(truncDate(“WK”, dt),‘dd-MMM-yyyy’))
Hi @arthurfsc and welcome to the Quick Sight Community!
You can adjust the start of the week through the Analysis Settings menu, this should change throughout your analysis to avoid having to use calculated fields:
I did this when I sent the screenshot. It looks like a bug of Quick Sight, like the filters doesn’t recognize the this settings, since if I add this calculated field of week truncate, the table shows Monday. However if I put the same column as filter, the quicksight shows Sunday (As you can see in my screenshot)
Following up here to see if you had any additional questions or if the last response helped with a work around for your case?
Let me know if you have any additional questions, if we do not hear back within the next 3 business days, I’ll close out this topic.
Hi Brett, Thanks for your support. To overcome this issue I had to create the column week (Monday - Sunday) in the dataset. It looks a QuickSight limitation, even the dashboard setup the start of week as Monday, if we put this calculated field in the filter control, it doesn’t recognize as Monday and still as Sunday. You can close now this topic.
@Shahid_Muhammad Thanks for your suggestion, very smart. Unfortunately, in my case where I need calculate the average of the week (starting on Monday) this suggestion doesn’t fit exactly my needs.