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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Akshaykadam98
Regular Visitor

undefined

We have a requirement in our project we are having weekly data like 

2023-47

2023-46

2023-45

This column data type is text, every week new weeks data update in this column like 2023-48

We want data selected for last 5 weeks

How can I create a dynamically selecting slicer when data type is text,

Slicer will select last 5 week's automatically 

3 REPLIES 3
Fowmy
Super User
Super User

@Akshaykadam98 

Currently, automatic selection of slicer value is not possible. Please redefine your approach.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

  • So what should I create if I have to show latest 5 weeks data, my weeks column is in text data type

@Akshaykadam98 

Share sample data and the ecpected results with some examples. Create a dummy PBI file and share using Google Drive, paste the link here.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.