The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
41 |