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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |