Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
User | Count |
---|---|
16 | |
15 | |
14 | |
12 | |
11 |
User | Count |
---|---|
19 | |
15 | |
14 | |
11 | |
9 |