Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Relative date filter / slicer display does not match generated DAX Query filter.
I would not expect to see "2/28/2022" when the visual is filtered to "3/1/2022 - 4/28/2022".
Per the performance analyzer, it looks like the visual is internally filtering to >= 2/28/2022, but displaying a filter of >=3/1/2022.
// DAX Query
DEFINE
VAR __DS0FilterTable =
FILTER(
KEEPFILTERS(VALUES('Date'[Date])),
AND('Date'[Date] >= DATE(2022, 2, 28), 'Date'[Date] < DATE(2022, 4, 29))
)
VAR __DS0Core =
CALCULATETABLE(
DISTINCT('Date'[Date]),
KEEPFILTERS(__DS0FilterTable)
)
VAR __DS0PrimaryWindowed =
TOPN(501, __DS0Core, 'Date'[Date], 1)
EVALUATE
__DS0PrimaryWindowed
ORDER BY
'Date'[Date]
Am I missing something? Is this actually expected behavior?
Thanks.
Power BI Desktop, Version: 2.104.702.0 64-bit (April 2022)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @powerbi_user_ ,
I can repro this issue and have reported it internally(ICM 304812788). Will sync here once there is any update. Thanks for your understanding!
Best Regards,
Community Support Team _ Caiyun