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! It's time to submit your entry. Live now!
Hi,
Appreciate your kind help!
I just want to get the last/max available date of Prev. Month (NOT last calender date).
By using LASTDATE(PREVIOUSMONTH(Date)) on July 2017 i get 30 june (calender date) noting that last available date in june is 29 June.
Thanks a lot,
KEY
Try this : Last Day = CALCULATE(Max(Table1[Date]),PREVIOUSMONTH(Table1[Date]))
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 33 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 133 | |
| 99 | |
| 57 | |
| 38 | |
| 38 |