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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
AdamMetz23
Advocate I
Advocate I

Date Slicer Filter Issue

Dear Community,

 

May I ask for help as I run into the following issue.

I have created a date table by using the following DAX formula:

AdamMetz23_0-1732782401397.png

 

The DIM Date Table is connected to the Fact Table which needs to be filtered based on the Date Table Slicer:


AdamMetz23_1-1732782464001.png

 

Both Columns are Dates:

AdamMetz23_2-1732782498044.pngAdamMetz23_3-1732782519610.png

 

 

When I add the Date column to the slicer, all the data on the page goes blank:

AdamMetz23_4-1732782564554.png

 

 

For trouble shooting I compared the two columns next to each other in a table and I can see that all the Date values from the Date DIM table are blanked when I try to match them with the Created Date (Fact Table) column as you can see below:

 

AdamMetz23_5-1732782613423.png

 

 

Have you seen something similar before? I would really appreciate your help. I cannot use Created Date as a date slicer for the report page because I would like to have todays date as latest date in the slicer which is not always in the created date column based on the data source.

 

Thank you for your suggestion in advance and have a great day,

Adam

 

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @AdamMetz23 

Try created a calculated column using  isblank(RELATED(datetable[date])) in Azure works table to check if they return non-blank values.










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


Proud to be a Super User!









"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.

View solution in original post

5 REPLIES 5
danextian
Super User
Super User

Hi @AdamMetz23 

Try created a calculated column using  isblank(RELATED(datetable[date])) in Azure works table to check if they return non-blank values.










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


Proud to be a Super User!









"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.

Thank you for having looked into it.

 

It turns out the issue was that in Power Query the Azure table date column type was date/time. Once I changed it to Date. It solved the problem with DAX and filtering.

 

Thank you.

I was going to tell you to look into this datat but your screenshot showed that both columns were dates.










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


Proud to be a Super User!









"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.

Hi @danextian ,

Thank you for showing the formula, the suggested confirms that it it returns blank as I have showed in the visualization. 

AdamMetz23_0-1732792260167.png

 

Do you might know how it can be fixed?

Thank you,

Adam

 

This is weird. I can see that they're both dates. Can you please do a isblank( LOOKUPVALUE(DatesTable[Date], DatesTable[Date], Azure[CreatedDate]) ) to check if this is still the case?  Also check if the min date in Azure is the same min date in DatesTable.










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


Proud to be a Super User!









"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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.