Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hello,
I have 2 tables and I want the distinct count of HCP_MDM_ID from both.
I´m using the following measure
#ReachUnion =
COUNTROWS (
DISTINCT (
UNION (
VALUES ( EVENTS[HCP_MDM_ID] ),
VALUES ( INTERACTIONS[HCP_MDM_ID] )
)
)
)
Can you help me please
Solved! Go to Solution.
@rmeng Try:
#ReachUnion =
COUNTROWS (
FILTER(
DISTINCT (
UNION (
VALUES ( EVENTS[HCP_MDM_ID] ),
VALUES ( INTERACTIONS[HCP_MDM_ID] )
)
),
[HCP_MDM_ID] <> BLANK()
)
)
or try this:
#ReachUnion =
COUNTROWS (
DISTINCT (
UNION (
DISTINCT( EVENTS[HCP_MDM_ID] ),
DISTINCT( INTERACTIONS[HCP_MDM_ID] )
)
)
)
@rmeng Try:
#ReachUnion =
COUNTROWS (
FILTER(
DISTINCT (
UNION (
VALUES ( EVENTS[HCP_MDM_ID] ),
VALUES ( INTERACTIONS[HCP_MDM_ID] )
)
),
[HCP_MDM_ID] <> BLANK()
)
)
or try this:
#ReachUnion =
COUNTROWS (
DISTINCT (
UNION (
DISTINCT( EVENTS[HCP_MDM_ID] ),
DISTINCT( INTERACTIONS[HCP_MDM_ID] )
)
)
)
SOLUTION FOUND THANKS
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
33 | |
15 | |
14 | |
12 | |
9 |