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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
Please can I know why my max by group by is not working?
I reffered to various threads in here and they have done the same , but doesn't work for me.
I need to find the maximum of 'Changed date' by employee, but it returns the maxium for the table.
Solved! Go to Solution.
I just opened a new power BI and connected, my intial formula works!
Thanks amit for your time and suggestions.
You are using on the same table that is causing an issue. Ref -https://docs.microsoft.com/en-us/dax/allexcept-function-dax
Try using employee from the employee dim
Hi Amit,
Thanks, but I don't have a dimesion table.
Is it possible to find the maximum within the same table?
Ref this. Seems like same case
https://community.powerbi.com/t5/Desktop/Calculate-subtotal-using-dax/td-p/564402
Hi,
I am a newbie to power BI and DAX, couldn't understand where the test107measure column/measure came from in the formula ?
@ https://community.powerbi.com/t5/Desktop/Calculate-subtotal-using-dax/td-p/564402
Test107 = CALCULATE(SUM(Test107Measure[Sales]),FILTER(ALL(Test107Measure),Test107Measure[Client]=SELECTEDVALUE(Test107Measure[Client])))
Should be something like this in your case
Max Employee = CALCULATE(max(sheet1[change Date]),FILTER(ALL(sheet1),sheet1[employee]=SELECTEDVALUE(sheet1[employee])))
So it might work as a measure
I just opened a new power BI and connected, my intial formula works!
Thanks amit for your time and suggestions.
I also noted that this case is simillar to me but works 😞
https://community.powerbi.com/t5/Desktop/Filter-only-highest-value-by-category/m-p/118551#M50044
Any hhelp will be greatly appreciated.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!