Enabling filtering from the many side of a relationship
To enable cross-filtering, click on Manage Relationships from the home ribbon; this will launch the manage relationship editor. Find the relationship between FactInternetSales and DimCustomer, and then click Edit.
Once the relationship editor has launched, change the cross-filter direction from single to both:
![](https://epubservercos.yuewen.com/644FAD/19470384001518306/epubprivate/OEBPS/Images/7097a59e-48fb-4f67-aff6-b5a542681dab.png?sign=1739303731-40DytVA19bKXh7W6oNc8yAkCVLrh5bFq-0-6d93d3d6df0ab0d0766dde218c7c05e4)
Figure 14- Changing the Cross filter direction
Back in the report view, you will now see the correct customer count for each product:
![](https://epubservercos.yuewen.com/644FAD/19470384001518306/epubprivate/OEBPS/Images/d4260d09-dd67-473d-91ea-c8a5dcadd1c3.png?sign=1739303731-rVZTAot0AxmkOES8g9ytpTfEt4suA7xa-0-39a5c90bcaa1f39e7afe92c42c45799d)
Figure 15-Customer Count for each product
Do not enable cross-filtering for your date table. In order for some DAX calculations to work properly, the date table must have a contiguous range of dates.