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 September 15. Request your voucher.

Reply
wonka1234
Helper III
Helper III

Using Text Slicer to reproduct what Date Slicer was doing.

Hi,

 

So I use a Report Date Slicer. Works fine. Also from Consolidated Table. It is a Date format. Ie March 2025, February 2025.

 

I created a calculated column instead because i want to display if the data is a "final" or a "draft"
Report Date Draft or Final = FORMAT([Report Date],"MMMM YYYY")  & " - " & Consolidated_Table[Draft_or_Final]

Now i use this as a slicer across my pages and removed my Report Date slicer.

 

However I notice alot of my charts arent correctly updating. I have alot of Top 1 or Top 5 latest Report Date in my visuals and plan on keeping these as-is.

How should I be doing this to ensure that my new text slicer will reproduce exactly what my old report date slicer did?

1 ACCEPTED SOLUTION
V-yubandi-msft
Community Support
Community Support

Hi @wonka1234 ,

@danextian ,Thanks for pointing that out you're absolutely right that switching from a date slicer to a text based one causes differences. @wonka1234 , The issue arises because your new text-based slicer does not preserve the date hierarchy that your original date slicer had. Since your Top 1 or Top 5 calculations depend on comparing actual dates, using a text slicer disrupts this logic.

So for this.

1. Maintain a proper Date Table with Report Date as a column, ensuring it is a valid date type, and establish a relationship between this table and the Consolidated Table  for accurate filtering.

2. Use the original Report Date column in the slicer and display "Draft" or "Final" status in visuals using measures.

Alternative Approach:

If you prefer to use your custom Draft or Final text based slicer, create a supporting measure that extracts the latest Report Date based on MAX() or RANKX() instead of relying solely on the slicer.

 

For more details, please review the attached official document once.
Set and use date tables in Power BI Desktop - Power BI | Microsoft Learn

 

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

4 REPLIES 4
V-yubandi-msft
Community Support
Community Support

Hi @wonka1234 ,

Could you let us know if your issue has been resolved or if you are still experiencing difficulties? Your feedback is valuable to the community and can help others facing similar problems.

 

Thank You.

V-yubandi-msft
Community Support
Community Support

Hi @wonka1234 ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank You.

V-yubandi-msft
Community Support
Community Support

Hi @wonka1234 ,

@danextian ,Thanks for pointing that out you're absolutely right that switching from a date slicer to a text based one causes differences. @wonka1234 , The issue arises because your new text-based slicer does not preserve the date hierarchy that your original date slicer had. Since your Top 1 or Top 5 calculations depend on comparing actual dates, using a text slicer disrupts this logic.

So for this.

1. Maintain a proper Date Table with Report Date as a column, ensuring it is a valid date type, and establish a relationship between this table and the Consolidated Table  for accurate filtering.

2. Use the original Report Date column in the slicer and display "Draft" or "Final" status in visuals using measures.

Alternative Approach:

If you prefer to use your custom Draft or Final text based slicer, create a supporting measure that extracts the latest Report Date based on MAX() or RANKX() instead of relying solely on the slicer.

 

For more details, please review the attached official document once.
Set and use date tables in Power BI Desktop - Power BI | Microsoft Learn

 

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

danextian
Super User
Super User

Hi @wonka1234 

 

You were using a date slicer which only had dates but currently you're using the text equivalent combined with another column. Woudn't that cause some difference? Other than this, there isn't enough information to figure out what else could be wrong.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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