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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Solved! Go to Solution.
Hi @LP280388
Try adding a filter() to the formula.
VAR FirstDay =
CALCULATE (
MIN ( 'From Date'[Date] ),
FILTER ( ALLSELECTED ( 'From Date'[Date] ), 1 = 1 )
)
VAR LastDay =
CALCULATE (
MAX ( 'To Date'[Date] ),
FILTER ( ALLSELECTED ( 'From Date'[Date] ), 1 = 1 )
)
Best Regards,
Jay
Hi @LP280388
Try adding a filter() to the formula.
VAR FirstDay =
CALCULATE (
MIN ( 'From Date'[Date] ),
FILTER ( ALLSELECTED ( 'From Date'[Date] ), 1 = 1 )
)
VAR LastDay =
CALCULATE (
MAX ( 'To Date'[Date] ),
FILTER ( ALLSELECTED ( 'From Date'[Date] ), 1 = 1 )
)
Best Regards,
Jay
Thank you very much.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.