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.
Hi experts,
Need your help here.
We have a requirement of getting the maximum available date for each given month. There are multiple dates available for each month. I want to create a DAX calculated column (flag column) which can set the max available date from each month to 1 and other 0. Here is the sample date and expected output
Thanks
Solved! Go to Solution.
@Shadaiv , A new column
=
var _pay = eomonth([payment Date],0)
return
if( [payment date] = maxx(filter(all(Table), eomonth([payment Date],0) =_pay), [payment date]) ,1,0)
@Shadaiv , A new column
=
var _pay = eomonth([payment Date],0)
return
if( [payment date] = maxx(filter(all(Table), eomonth([payment Date],0) =_pay), [payment date]) ,1,0)