Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Not applicable

Replace last value and Return column

Hi Everyone,

Can anyone help me with, How to rename last product value based on max date in column and return all values same.

Ex: One column contains Model1, Model 2, Model 3 with respective dates and currently Model-3 is active, So we need to show in slice "Model-3 Active" and its completely work in dynamic way.


Thanks in advance.

Super User
Super User

@Anonymous , You need to create a new column


if( [Date] = Max(Table[Date]) , [Model] , " Active", [Model])

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.