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 @sudhir1212 ,
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 @sudhir1212 ,
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
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))
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 |
---|---|
106 | |
105 | |
79 | |
69 | |
62 |
User | Count |
---|---|
143 | |
104 | |
103 | |
82 | |
70 |