The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Solved! Go to Solution.
Hi @Anonymous
Try this:
Date Range =
VAR __MIN =
FORMAT ( MIN ( 'Table'[Date] ), "MM/DD/YYYY" )
VAR __MAX =
FORMAT ( MAX ( 'Table'[Date] ), "MM/DD/YYYY" )
RETURN
"Date Range: " & __MIN & " to " & __MAX
I've just stumbled across this in trying to solve my own problem.
Is there a way of making this include days where no orders have been received? I have tried calculating the "minimum" dynamic value using my Orders table but this will exclude the first few days if no orders were received initially. I tried to do it on my Calendar table's date but then it brings back the earliest date in the calendar which is for a different site (i.e. not being filtered by the [Order Location] filter).
Thanks.
@Anonymous , seem like @danextian has provided the solution. Please check and mark it as solution, if it worked for you
Hi @Anonymous
Try this:
Date Range =
VAR __MIN =
FORMAT ( MIN ( 'Table'[Date] ), "MM/DD/YYYY" )
VAR __MAX =
FORMAT ( MAX ( 'Table'[Date] ), "MM/DD/YYYY" )
RETURN
"Date Range: " & __MIN & " to " & __MAX