Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hey all!!!
I have a measure to pull the date range of the filters, well it should....
The LastDate is pulling 12/31/2022 instead of the date on the filter.
Solved! Go to Solution.
You may need to wrap your FIRSTDATE and LASTDATE in a CALCULATE ( ..... , ALLSELECTED ( 'Table'[Calls Started Date] ) )... if you do this, this should hopefully reflect the filtered dates.
Measure =
CALCULATE (
FIRSTDATE (
'Fuze Calls'[Calls Started Date] ) ,
ALLSELECTED ( 'Fuze Calls'[Calls Started Date] )
) &" - "&
CALCULATE (
LASTDATE (
'Fuze Calls'[Calls Started Date] ) ,
ALLSELECTED ( 'Fuze Calls'[Calls Started Date] )
)
I haven't tested the syntax but hopefully it works!
Let me know how it goes.
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
I did end up getting this to work - I did a date table and then built the exact same messure I built the first time and it worked!! .....No clue why..... but it's all good now!
You may need to wrap your FIRSTDATE and LASTDATE in a CALCULATE ( ..... , ALLSELECTED ( 'Table'[Calls Started Date] ) )... if you do this, this should hopefully reflect the filtered dates.
Measure =
CALCULATE (
FIRSTDATE (
'Fuze Calls'[Calls Started Date] ) ,
ALLSELECTED ( 'Fuze Calls'[Calls Started Date] )
) &" - "&
CALCULATE (
LASTDATE (
'Fuze Calls'[Calls Started Date] ) ,
ALLSELECTED ( 'Fuze Calls'[Calls Started Date] )
)
I haven't tested the syntax but hopefully it works!
Let me know how it goes.
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Sadly no luck, it is a nice measure though!
I'll keep working at it and playing around with formulas to see if anything sticks.
Thank you!
Hi @jessimica1018 sorry it didn't work for you. It's weird as I tested the syntax and all looked good. Glad it got resolved though! 🙂
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.