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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MagMag31
Regular Visitor

find last date refresh by name of items

Hello,

i need yout help please
I have a table that contains several refresh dates and I need to display the last item by the last start date and the end date which corresponds to it

example :

MagMag31_0-1683724916396.png

 

 

result i want

MagMag31_1-1683724935691.png

 

 

thank you for you help

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @MagMag31 

try like:

1) create a calculated table like:

Table = 
ADDCOLUMNS(
    DISTINCT(data[item]),
    "start refresh date",
    CALCULATE(MAX(data[start refresh date]))
)

2) join the new table with the data table on [start fresh date] column

FreemanZ_0-1683726757478.png

 

3) add two calculated columns like:

end refresh date = RELATED(data[end refresh date])
Duration = RELATED(data[duration])

 it worked like:

FreemanZ_1-1683726835385.png

View solution in original post

2 REPLIES 2
FreemanZ
Super User
Super User

hi @MagMag31 

try like:

1) create a calculated table like:

Table = 
ADDCOLUMNS(
    DISTINCT(data[item]),
    "start refresh date",
    CALCULATE(MAX(data[start refresh date]))
)

2) join the new table with the data table on [start fresh date] column

FreemanZ_0-1683726757478.png

 

3) add two calculated columns like:

end refresh date = RELATED(data[end refresh date])
Duration = RELATED(data[duration])

 it worked like:

FreemanZ_1-1683726835385.png

it works thank you so much !

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.