Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Solved! Go to Solution.
Hi @Anonymous ,
If there's no other condition, you could simple use MAX('table'[date]) to get the maximum date.
If there are other conditions, you could use below formula:
max_date = CALCULATE(MAX('table'[date]),FILTER(ALLSELECTED('table'),condition))
Best Regards,
Jay
Hi @Anonymous ,
If there's no other condition, you could simple use MAX('table'[date]) to get the maximum date.
If there are other conditions, you could use below formula:
max_date = CALCULATE(MAX('table'[date]),FILTER(ALLSELECTED('table'),condition))
Best Regards,
Jay
@Anonymous ,
example how to get dates min/max
new measure =
var _max = maxx(allselected(Date),Date[Date])
var _min = minx(allselected(Date),Date[Date])
return
calculate( sum(Table[Value]), filter('Table', 'Table'[Date] >=_min && 'Table'[Date] <=_max))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
117 | |
84 | |
49 | |
38 | |
28 |
User | Count |
---|---|
185 | |
73 | |
73 | |
50 | |
42 |