Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi friends,
How to convert an active relationship to inactive relationship?
Using any dax
hi @Lakshmi20
use CROSSFILTER() in your CALCULATE codes.
for example:
the data model:
dataset:
1) write two measures:
SalesMeasure = SUM(Sales[Sales])
SalesMeasureCrossFilterNone =
CALCULATE(
SUM(Sales[Sales]),
CROSSFILTER('Product'[Product],Sales[Product],None)
)
2) plot a table with two measure and the Product column from Product Table
you see, the relationship is inactive.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |