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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
coolshib
Helper III
Helper III

Need help on Dynamic Title based on date range

Hi Everyone,

Heed help of Dynamic Title based on date range filtered in slicer.

For example, if i select the date range as from 01/04/2019 to 15/04/2019 then the title should display as 

"Sales report for the period 01/04/2019 to 15/04/2019".

My sales data is as follows

Sale DateItemUnitsTotal
01/04/2019Pencil95189.05
02/04/2019Binder50999.5
03/04/2019Pencil36179.64
04/04/2019Pen27539.73
05/04/2019Pencil56167.44
06/04/2019Binder60299.4
07/04/2019Pencil75149.25
08/04/2019Pencil90449.1
09/04/2019Pencil3263.68
10/04/2019Binder60539.4
11/04/2019Pencil90449.1
12/04/2019Binder2957.71
13/04/2019Binder811,619.19
14/04/2019Pencil35174.65
15/04/2019Desk2250
16/04/2019Pen Set16255.84
17/04/2019Binder28251.72
18/04/2019Pen64575.36
19/04/2019Pen15299.85

Thanks in advance.

Best Regards,

Shib

1 ACCEPTED SOLUTION
Anonymous
Not applicable

This should work for you:

 

Measure = "Sales report for the period " & FIRSTDATE(Sheet1[Dates]) & " to " & LASTDATE(Sheet1[Dates])

View solution in original post

2 REPLIES 2
welbywelb
New Member

Hi,

I think this answer is only correct if the data in Sheet1 has a record for the filtered start and end date so it does not give the correct result if we filtered from 1-Sep-2021 to 17-Sep-2021 and Sheet1 only contains data from the 2-Sep-2021 to 16-Sep-2021 as this would give the results of " Sales report for the period 2-Sep-2021 to 16-Sep-2021" .. which is clearly not show the filtered date range.

Anonymous
Not applicable

This should work for you:

 

Measure = "Sales report for the period " & FIRSTDATE(Sheet1[Dates]) & " to " & LASTDATE(Sheet1[Dates])

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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