Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi All,
I'm looking at this downloaded visual. Does anyone know how to limit the user selection - for the 'from' range, to only be able to select the 1st of the month, and for the 'to' range to be only able to select the end day of the month.
Many thanks
Solved! Go to Solution.
Hi,
Current Limitation
The Date Range Selector (custom visual) does not support restricting user selection to specific days like:
This kind of constraint is not available out-of-the-box in that visual.
Recommended Workarounds
Option 1 – Use a Month-Level Slicer (Best Practice)
Instead of daily dates, create a Month column in your Date table:
YearMonth = FORMAT('DateTable'[Date], "YYYY-MM")
Then:
This ensures users select full months only
Option 2 – Use Start/End of Month Columns
Create helper columns:
StartOfMonth = STARTOFMONTH('DateTable'[Date])
EndOfMonth = ENDOFMONTH('DateTable'[Date])
Use these fields in slicers so users naturally pick valid boundaries.
Option 3 – Enforce via Measure (Soft Restriction)
You can validate selection and show results only when valid:
Valid Selection =
IF(
DAY(MIN('DateTable'[Date])) = 1 &&
DAY(MAX('DateTable'[Date])) = DAY(EOMONTH(MAX('DateTable'[Date]),0)),
1,
0
)
Then:
Option 4 – Use Built-in Relative Date Slicer
If applicable:
Automatically ensures full-month logic
Best Practice
For scenarios like yours, most implementations:
Avoid day-level slicers
Use Month/Year hierarchy slicers
This improves:
Hope this helps.
Thanks!
Thanks very much 🙂
Hi,
Current Limitation
The Date Range Selector (custom visual) does not support restricting user selection to specific days like:
This kind of constraint is not available out-of-the-box in that visual.
Recommended Workarounds
Option 1 – Use a Month-Level Slicer (Best Practice)
Instead of daily dates, create a Month column in your Date table:
YearMonth = FORMAT('DateTable'[Date], "YYYY-MM")
Then:
This ensures users select full months only
Option 2 – Use Start/End of Month Columns
Create helper columns:
StartOfMonth = STARTOFMONTH('DateTable'[Date])
EndOfMonth = ENDOFMONTH('DateTable'[Date])
Use these fields in slicers so users naturally pick valid boundaries.
Option 3 – Enforce via Measure (Soft Restriction)
You can validate selection and show results only when valid:
Valid Selection =
IF(
DAY(MIN('DateTable'[Date])) = 1 &&
DAY(MAX('DateTable'[Date])) = DAY(EOMONTH(MAX('DateTable'[Date]),0)),
1,
0
)
Then:
Option 4 – Use Built-in Relative Date Slicer
If applicable:
Automatically ensures full-month logic
Best Practice
For scenarios like yours, most implementations:
Avoid day-level slicers
Use Month/Year hierarchy slicers
This improves:
Hope this helps.
Thanks!
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |