Muhammed Mafawalla
Muhammed Mafawalla

Reputation: 1

How to Default a Date Range Slicer in Power BI to Start from the Beginning of the Current Month to Today's Date?

I'm working with a date range slicer in Power BI that is set to "Between" mode to allow users to select both a start and end date. The slicer is connected to my dim_date entity.

I would like the slicer to automatically default to display the date range from the start of the current month up to today's date when users first load the report. However, I still want users to have the ability to manually change the date range if they wish.

Here’s a summary of my setup:

What I have Tried

  1. Relative Date Slicer: I want users to interact directly with the filters on the report, rather than having to access the filter pane sidebar.

My Goal

How can I achieve this behavior for my Power BI date range slicer? Any guidance or step-by-step instructions would be greatly appreciated!

Upvotes: 0

Views: 229

Answers (1)

David Browne - Microsoft
David Browne - Microsoft

Reputation: 89386

You can't. But you can add a column to your date table to indicate the days that are part of the current month and filter on that.

Upvotes: 0

Related Questions