Forum Discussion

den_shumilin's avatar
den_shumilin
Regular Visitor
4 years ago

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 

1 Reply

  • daXtreme's avatar
    daXtreme
    Icon for Solution Sage rankSolution Sage

    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.