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 and thanks for reading this.
I want to get the max month number based on a measure.
Mesure 1 is doing calaculations and get the results as shown.
If i do MAX(month[month]) now i get 202205
I would like the get the last month (202112) that has a number calculated.
This needs to be in a measure.
I hope i could explain what i want to do.
/Thanks
Solved! Go to Solution.
MAXX(
Filter(
Allselected( table[month]),
Not iSBLANK( [measure] )
),
Table[month]
)
MAXX(
Filter(
Allselected( table[month]),
Not iSBLANK( [measure] )
),
Table[month]
)
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 33 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 130 | |
| 100 | |
| 56 | |
| 37 | |
| 37 |