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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Show only lastest value based on last date and status

Hi, 

 

I have/created this table: 

coding_0-1669291561719.png

I want to show only the lastest value for each pipeline.

For example, in that example I just wanted to show the status "Succeeded" for pipeline1 and the status "Failed" for pipeline2. If the pipeline has not yet finished and it is inProgress it would only show the status InProgress (in this case it would be the last case to be shown because it wouldn't have the End Date yet)

 

How to achieve the desired result?
Thanks for your helps.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @NikhilChenna ,

I solved my problem with just one measure:

End T =
MAXX (
    SUMMARIZE (
        'EDH PRO Monitor',
        'EDH PRO Monitor'[Duration],
        'EDH PRO Monitor'[Status],
        'EDH PRO Monitor'[PipelineName]
    ),
    MAX ( 'EDH PRO Monitor'[End] )
)


Output:

coding_1-1669300547047.png

but thanks a lot for your suggestions and answers👍,

Kind regards. 

 

View solution in original post

5 REPLIES 5
NikhilChenna
Skilled Sharer
Skilled Sharer

Hi @Anonymous , i think this the solution

1. Create a summarize table using new table in Power BI, click on the modelling tab and click on the new table option.

NikhilChenna_0-1669293781861.png

 

Summarize_table =
SUMMARIZE(
    'table1',
    'table1'[PipelineName],
    "MAXendDate",MAX('table1'[End Date]),
    "MAXStatus",MAX('table1',[status]
)
 
After creating this you can drag fields from this table and you'll get your output.
 
Regards,
Nikhil Chenna
 
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Anonymous
Not applicable

Hi @NikhilChenna thanks for your answer ! 😊

 

I had already tested this approach too and unfortunately it wasn't giving me the intended result:

coding_0-1669294867253.png

Once again thanks a lot and kind regards !

 

Hi @Anonymous ,

 

In that case what you can do is, 

 

1. Create another calculated column in the summarized table. 

2. Column =

IF('Maintable'[EndDate]<>Blank(),

LOOKUPVALUE( 'Maintable' [Status], 'Maintable'[Pipeline], 'Summarizedtable'[Pipeline])

)

 

Regards,

Nikhil Chenna

 

Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

Anonymous
Not applicable

Hi @NikhilChenna ,

I solved my problem with just one measure:

End T =
MAXX (
    SUMMARIZE (
        'EDH PRO Monitor',
        'EDH PRO Monitor'[Duration],
        'EDH PRO Monitor'[Status],
        'EDH PRO Monitor'[PipelineName]
    ),
    MAX ( 'EDH PRO Monitor'[End] )
)


Output:

coding_1-1669300547047.png

but thanks a lot for your suggestions and answers👍,

Kind regards. 

 

How can I do to count the rows?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors