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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Rc09
New Member

Only showing one row per ID based on date slicer

Hey All,
I have bit of a tricky scenario which I've seen a lot of similar posts on here but when trying out the solutions, it never seemed to work.

I have a table with 11 columns but to keep this succinct I will focus on this example with four of my columns.
ID, Area, Version and Updated_Date
I have a slicer in PBI for Updated_Date so I can select a date, then I have a table showing this data.

Rc09_0-1709094873165.png

But I want to limit the table to only ever show 1 row per ID and I want it show the latest data up to the date selected in the slicer.

For example if the slicer was set to today (02/28/2024), the visual table would be

Rc09_1-1709094911031.png


But if I moved the date slicer to (01/30/2024) for example the table would show

Rc09_2-1709094944935.png

I've tried measures for selectedvalue on the slicer and max on dates to compare and flag but it and just never seems to work out. Any help is appriciated.

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

1 REPLY 1
Ahmedx
Super User
Super User

pls try this

Screenshot_2.pngScreenshot_3.png

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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