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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Can any one help me out in achieving the below month wise ID last status using DAX.
Solved! Go to Solution.
Hi @shahnawaz92 ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create measures.
max date = CALCULATE(MAX('YourTableName'[DATE]),FILTER(ALLSELECTED('YourTableName'),'YourTableName'[ID]=MAX('YourTableName'[ID])))
status = CALCULATE(MAX('YourTableName'[STATUS]),FILTER(ALLSELECTED('YourTableName'),'YourTableName'[DATE]=[max date] && 'YourTableName'[ID]=MAX('YourTableName'[ID])))
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @shahnawaz92 ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create measures.
max date = CALCULATE(MAX('YourTableName'[DATE]),FILTER(ALLSELECTED('YourTableName'),'YourTableName'[ID]=MAX('YourTableName'[ID])))
status = CALCULATE(MAX('YourTableName'[STATUS]),FILTER(ALLSELECTED('YourTableName'),'YourTableName'[DATE]=[max date] && 'YourTableName'[ID]=MAX('YourTableName'[ID])))
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks its working.