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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
common763
Helper III
Helper III

Most Recent Date Rows Display Only

I have a dataset similar to the below.  All I want to do is create a data table that will only display the Program, Version and Date.  The end-user only wants to see most recent version.  I can easily do this if I do not include the version as I can display most recent date.  The problem arises when I want to include the version number.  It is free text so I have a PROGID and Program to align it with but will show everything (every version and associated date).  Is there a column or measure I can write to only show Program, and Most recent date w the associated version?  So instead of all three ABC versions displayed below, I would just display version C with 3/1/2022.

 

ProgramPROGIDVersionDate
ABC1a1/1/2020
ABC1b2/1/2021
ABC1c3/1/2022
EFG2a1/1/2020
EFG2b2/1/2021
EFG2c3/1/2022
HIJ3a1/1/2020
HIJ3b2/1/2021
HIJ3c3/1/2022
2 ACCEPTED SOLUTIONS
AbhinavJoshi
Responsive Resident
Responsive Resident

Hello, you can use a measure to calulate the latest date for the Version. Navigate to modelling tab, and then New Measure. In the formula bar enter this formula 

Latest Date = CALCULATE(MAX('Sheet1'[Date]), ALLEXCEPT('Sheet1', 'Sheet1'[Version])). Change the Sheet1 name with your table name. Then you can bring this measure to your table/matrix 

View solution in original post

Ashish_Mathur
Super User
Super User

Hi,

Please find attached the PBI file.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

Please find attached the PBI file.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanks.  Disregard other message.  Got it to work.  I accepted this as a solution but dont see it anymore.  Not sure if it registered.  Thanks again.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
AbhinavJoshi
Responsive Resident
Responsive Resident

Hello, you can use a measure to calulate the latest date for the Version. Navigate to modelling tab, and then New Measure. In the formula bar enter this formula 

Latest Date = CALCULATE(MAX('Sheet1'[Date]), ALLEXCEPT('Sheet1', 'Sheet1'[Version])). Change the Sheet1 name with your table name. Then you can bring this measure to your table/matrix 

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.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.