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
JaroslavHlavka
New Member

Dynamic slicer to show only latest duplicate in visual

hello everyone,

 

Looking for any ideas or directions for the following problem. 

 

I have data sourced from Sharepoint list with version history:

 

ID  Version  VersionDate  Amount

1    1           01/01/2023    100

1    2           01/02/2023    120

1    3           01/05/2023      90

2    1           01/03/2023    200

 

I have a slicer to filter out VersionDate "after" selected date. The table will show 1, 2 or 3 duplicates for ID=1 (depending on the date selected in the slicer). How to make the visual show only latest ID entry based on VersionDate (duplicates based on ID)?

 

Example output:

Slicer date selected: 01/03/2023

Expected output:

ID  Version  VersionDate  Amount

1    2           01/02/2023    120

2    1           01/03/2023    200

 

Thanks in advance. really stuck on this one for some time now. googling only leads to removing duplicates in PowerQuery, which can't solve this.

0 REPLIES 0

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors