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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

need to get column with the value of project with the latest date only

Hi team,

as shown in the table I have the column Project name, Data Date date, and the E.V

the E.V is a cumulative value so I would like to create a measure or add a new column to have the only value of the latest Data Date and the rest of the dates gives Null(blank).

 

Can I achieve something that I am looking for?

 

Please help

Thanks in advance,

abdelrahma93_0-1661263153370.png

 

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Please try the measure.

 

Measure = IF(MAX('Table'[Date]) = CALCULATE(MAX('Table'[Date]),ALLSELECTED(),VALUES('Table'[Project name])),SUM('Table'[E.V]) )

vkkfmsft_0-1661495215117.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
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

4 REPLIES 4
Anonymous
Not applicable

Does dose anyone have an idea ??

Hi @Anonymous ,

 

Please try the measure.

 

Measure = IF(MAX('Table'[Date]) = CALCULATE(MAX('Table'[Date]),ALLSELECTED(),VALUES('Table'[Project name])),SUM('Table'[E.V]) )

vkkfmsft_0-1661495215117.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Fowmy
Super User
Super User

@Anonymous 

You can add  column as follows, change the Tablename as per yours

Latest Date = IF(   MAX(Tablename[Data Date]) = Tablename[Data Date] , Tablename[Data Date] )
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

thank you very much for your attention, but it does not consider the filter on the project name, I would like to take but the value considers the max date for each project only not for the whole dates so I need to but the project name as the factor of max criteria

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors