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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Fetching row values

Hi,

I need to fetch the Start Date and End date values highlighted shown below. I need a measure/calculated column based on a status column.

For Ref No 101 I need to fetch the start date for status = Submitted

and End date for status = Approved

Ashfiya_Naaz_0-1668576524057.png

 

Result expected :

Ashfiya_Naaz_1-1668576551863.png

 

Regards,
Ashfiya

 

1 ACCEPTED SOLUTION
Jayee
Responsive Resident
Responsive Resident

Hi @Anonymous ,

 

Try below measures with Ref No

Start Date = calculate(min(table[start date]), all(table[start date]),status="Submitted")

End Date = calculate(max(table[end date]), all(table[end date]),status="Approved")

 If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!

View solution in original post

1 REPLY 1
Jayee
Responsive Resident
Responsive Resident

Hi @Anonymous ,

 

Try below measures with Ref No

Start Date = calculate(min(table[start date]), all(table[start date]),status="Submitted")

End Date = calculate(max(table[end date]), all(table[end date]),status="Approved")

 If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.