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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
riotriot123
Regular Visitor

Advanced Filtering in PowerBI Web Visuals Based on Date Slicer, Version Logic and archive status

Hello PowerBI community!

I'm trying to implement smart filtering in PowerBI visuals. Initially, I've been using a date slicer to show data prior to the selected date. However, this method is not fully meeting my requirements.

Here's an example to illustrate the desired filtering behavior:

 

Input Table:

 

IDVersionDate   IsArchived  Other columns... 
245101/15/2023false...
245103/31/2023true...
245104/15/2023false...
256101/19/2023false...
256202/26/2023false...
256303/23/2023false...
879112/01/2023false...
879201/15/2023false...
879302/23/2023false...

 

When I select the date 02/12/2023 from the date picker, the table should filter as:

 

IDVersionDateIsArchivedOther columns...
245101/15/2023false...
256101/19/2023false...
879201/15/2023false...

 

When I then select the date 04/01/2023, the table should filter as:

 

IDVersionDateIsArchivedOther columns...
245101/15/2023false...
256303/23/2023false...
879302/23/2023false...

 

The aim is to always display the versions relative to the selecteddate, excluding the archived entries. How can I create such a dynamic filter to refine my dashboard and its visuals based on this logic in PowerBI Web?

 

Thank you in advance for your insights and advice!

2 REPLIES 2
lbendlin
Super User
Super User

Like this?

 

lbendlin_0-1699131538183.png

 

Yes this is how the data slicer currently is setted up but i need some additional filter to get the max version per ID which is not archived. Maybe an extra Measure for this FIlter ist needed on top of the data slicer which takes care about the date.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.