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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

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

Jan NL Carousel

Fabric Community Update - January 2025

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