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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Date slicer not passing start and end date when viewed from performance analyzer

Hi All,

 

I am having an issue in the date slicer values getting passed.

 

I have a date slicer which is type betweenDate Slicer.PNG

This comes from a DIm Date table.

The date table is related to a fact table.

 

Earlier on for a measure which is filtered for the selected dates, performance analyzer gives in the meaure query

 

VAR __DS0FilterTable =
FILTER(
KEEPFILTERS(VALUES('DIM-Date'[Date])),
AND('DIM-Date'[Date] >= DATE(2021, 12, 1), 'DIM-Date'[Date] < DATE(2022, 1, 1))
)

 

Suddenly I notice for the same measure the performance anayzer is showing in the query

  VAR __DS0FilterTable = 
    FILTER(
      KEEPFILTERS(VALUES('DIM-Date'[Date])),
      'DIM-Date'[Date] < DATE(2022, 1, 1)
    )

 

Any idea why this could have happened. Is it do something with the settings.

 

Need help urgently.

 

Cheers

 

CheenuSing

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , I think because the date table is joined the filter in the slicer is already applied. The start date is the same so >= is already covered. Only diff in last date, to only that one is added 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak ,

 

Even with the relationship , it was showing 

VAR __DS0FilterTable =
FILTER(
KEEPFILTERS(VALUES('DIM-Date'[Date])),
AND('DIM-Date'[Date] >= DATE(2021, 12, 1), 'DIM-Date'[Date] < DATE(2022, 1, 1))
)

 

I uninstalled and re-installed the Desktop app.

 

still the same.

 

Cheers

CheenuSIng

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.