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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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