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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
MartinaRa
Regular Visitor

PBI_measure_Fill in blank with a particular project number's the latest value from other columns

I have a report which shows me the current status of projects. The project numbers are populated monthly with their monthly current status - financial and non-financial. When the project is closed in a particular month, it changes its status from approved to closed and the closing date is populated. My data table looks then like this:

(column1)Project Number (column2)Report Run Fiscal month (column3)Project Status (column4) Project Close Date

If the project is still in 'Approved' status, the 'column 4' 'Project Close date' is blank. I need to create a formula/measure to see for a particular project its latest/max Project Closing date even if I am reviewing the approved project lines.

Can you please help?

MartinaRa_0-1692011088135.png

 

2 ACCEPTED SOLUTIONS
MartinaRa
Regular Visitor
v-tangjie-msft
Community Support
Community Support

Hi @MartinaRa ,

 

According to your description, here are my steps you can follow as a solution.

(1) My test data is the same as yours.

(2) We can create a measure. 

max Project Closing date = MAXX(FILTER(ALL('Table'),'Table'[Project Number]=MAX('Table'[Project Number])),[Project Close Date])

(3) Then the result is as follows.

vtangjiemsft_0-1692067636026.png

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

3 REPLIES 3
v-tangjie-msft
Community Support
Community Support

Hi @MartinaRa ,

 

According to your description, here are my steps you can follow as a solution.

(1) My test data is the same as yours.

(2) We can create a measure. 

max Project Closing date = MAXX(FILTER(ALL('Table'),'Table'[Project Number]=MAX('Table'[Project Number])),[Project Close Date])

(3) Then the result is as follows.

vtangjiemsft_0-1692067636026.png

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Thank you!

MartinaRa
Regular Visitor

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.