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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.