Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |