cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nishanth1996
Helper II
Helper II

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.

1 REPLY 1
amitchandak
Super User
Super User

@Nishanth1996 , You need to create a new column

 

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

Helpful resources

Announcements
Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors