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
Solved! Go to Solution.
@Clint , Try like
lastnonblankvalue(Table[Week],max(Table[Comment]))
or
calculate(lastnonblankvalue(Table[Week],max(Table[Comment])), allexcept(Table, Table[project]))
or
calculate(lastnonblankvalue(Table[Week],max(Table[Comment])), filter(allselcted(Table), Table[project]=max( Table[project])))
@Clint , Try like
lastnonblankvalue(Table[Week],max(Table[Comment]))
or
calculate(lastnonblankvalue(Table[Week],max(Table[Comment])), allexcept(Table, Table[project]))
or
calculate(lastnonblankvalue(Table[Week],max(Table[Comment])), filter(allselcted(Table), Table[project]=max( Table[project])))
Thanks Amit. This worked: lastnonblankvalue(Table[Week],max(Table[Comment])) but I don't understand why? The week column should never have a blank in the field as it is populated from the start of a project to the thend of the project. it is the comment field that will have blanks in the column and I need to always extract the latest comment; which is always the last non-blank in that row as determined by max week date
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!