Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Here is an example of a test i'm doing... I would like to see visually what are the differences between column "Source". I have no idea where to start. See below for table example.
I would like to see:
AD NOT IN SD
ComputerB, ComputerD, ComputerF
SD not in AD
ComputerX
Solved! Go to Solution.
Hi @moshiera ,
You can create a Calculated Column,
Hi @moshiera,
Create a measure as below:
Measure =
VAR _AD =
CALCULATETABLE (
DISTINCT ( 'Table'[Computer Name ] ),
FILTER ( ALL ( 'Table' ), 'Table'[Source] = "AD" )
)
VAR _SD =
CALCULATETABLE (
DISTINCT ( 'Table'[Computer Name ] ),
FILTER ( ALL ( 'Table' ), 'Table'[Source] = "SD" )
)
RETURN
IF (
MAX ( 'Table'[Source] ) = "AD"
&& NOT ( MAX ( 'Table'[Computer Name ] ) IN _SD ),
"AD not in SD",
IF (
MAX ( 'Table'[Source] ) = "SD"
&& NOT ( MAX ( 'Table'[Computer Name ] ) IN _AD ),
"SD not in AD",
BLANK ()
)
)
And you will see:
For the related .pbix file,pls click here.
Hi @moshiera,
Create a measure as below:
Measure =
VAR _AD =
CALCULATETABLE (
DISTINCT ( 'Table'[Computer Name ] ),
FILTER ( ALL ( 'Table' ), 'Table'[Source] = "AD" )
)
VAR _SD =
CALCULATETABLE (
DISTINCT ( 'Table'[Computer Name ] ),
FILTER ( ALL ( 'Table' ), 'Table'[Source] = "SD" )
)
RETURN
IF (
MAX ( 'Table'[Source] ) = "AD"
&& NOT ( MAX ( 'Table'[Computer Name ] ) IN _SD ),
"AD not in SD",
IF (
MAX ( 'Table'[Source] ) = "SD"
&& NOT ( MAX ( 'Table'[Computer Name ] ) IN _AD ),
"SD not in AD",
BLANK ()
)
)
And you will see:
For the related .pbix file,pls click here.
Hi @moshiera ,
You can create a Calculated Column,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |