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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Blizz003
Regular Visitor

Dynamically sort visuals by custom period

I'm trying to filter visuals based on a custom text column in my Date table of the format "YY-PP"  (ie "21-09")

I'd like to be able filter by having some visuals display data for the current period and others for the previous period without having to manually adjust slicers.

 

Thanks! 

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Blizz003 ,

 

Please refer to this blog: Display Last N Months & Selected Month using Single Date Dimension in Power BI – Some Random Thought....

 

When using one single Date Demension table, you can use just one slicer to dynamically control all needed visuals.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Icey
Community Support
Community Support

Hi @Blizz003 ,

 

Please refer to this blog: Display Last N Months & Selected Month using Single Date Dimension in Power BI – Some Random Thought....

 

When using one single Date Demension table, you can use just one slicer to dynamically control all needed visuals.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

VahidDM
Super User
Super User

Hi @Blizz003 

 

Can you post sample data as text and expected output?
Not enough information to go on;

please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
4. Relation between your tables

Appreciate your Kudos!!
LinkedIn:www.linkedin.com/in/vahid-dm/

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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