cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
den_shumilin
Regular Visitor

The bug in the slicer using Calculation Group to switch between dates

Hi, Guys.
We use solution "calculation groups to switch between dates" in our project.
But we found a bug in the slicer.
The slicer obtained from the order numbers from the sales table displays the order numbers filtered only by the default relationship-OrderDate. Using a fake measure on a slicer in the filter panel also doesn't work.

I reviewed the Dax code in Dax Studio and saw the difference between when a measure is dragged in a visual and when it is used in the filter panel.

Of course, I understand how to fix the Dax code that is generated by the Dax engine, but I cannot implement it into the slicer.

I would be very grateful if you tell me how to get the correct order numbers in the slicer filtered by delivery date.

Attached Dataset 

test.png

1 REPLY 1
daXtreme
Super User
Super User

Keep the connections to the Dates table inactive and activate them only on demand using measures. Or better still, create 2 Dates tables dedicated to one and only one type of date.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors