Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sidd88
Regular Visitor

Create a Custom single date picker which gives the option to select a range of dates

Hi,

is there any way to create a custom date picker , with a range selection.

note: not using the power viz custom date picker visual

sidd88_0-1727694961482.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @sidd88 ,

 

Creating a date table and three measure does the trick:

DateTable = 
ADDCOLUMNS (
    CALENDAR (DATE(2023, 1, 1), DATE(2024, 12, 31)),
    "Year", YEAR([Date]),
    "Month", MONTH([Date]),
    "Day", DAY([Date])
)

SelectedStartDate = MIN('DateTable'[Date])

SelectedEndDate = MAX('DateTable'[Date])

FilteredData = 
CALCULATE (
    SUM('Sales'[SalesAmount]),
    FILTER (
        'Sales',
        'Sales'[Date] >= [SelectedStartDate] &&
        'Sales'[Date] <= [SelectedEndDate]
    )
)

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

sidd88
Regular Visitor

@amitchandak  Thank you for your suggestion but this custom visual thing i have already explored and it needs license, is there any way we can replicate this thing without using a custom visual

amitchandak
Super User
Super User

@sidd88 ,refer if this can help

https://appsource.microsoft.com/en-us/product/power-bi-visuals/truvizinc1674781244292.date-picker-by...

 

more

https://appsource.microsoft.com/en-us/marketplace/apps?search=date&page=1

 

Or you have to consider custom visual development

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors