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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
MartinaRa
Frequent 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
Frequent Visitor
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Frequent Visitor

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.