Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi everyone,
I'm trying to create a new column that will return the MAX value for an item in a particular Month & Year if the value is 0.
If the value is >0, it should return the same value.
In my case the value is the "Selling Price". Ideally, it should return the new column "Revised Selling Price for the Month".
Thank you all!
Solved! Go to Solution.
It works wonderfully thanks a lot!!
@Anonymous , Try a new column like
measure =
var _1 = maxx(filter(Table, [Month] =earlier([Month]) && [year] = earlier([year])), [selling price])
return
if([selling price] =0, _1, [selling price])
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.