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.
Hello, Team.
I made a table in which I counted how many times a phone number appeared in the same column more than once. These customers signed up using the same phone number but from different origins. Ideally, we need to identify who these customers are, because a customer should only have one profile, regardless of origin. Also, we need to know who has multiple profiles and has completed at least one order on both origins.
Customers table:
The last column on the right is my desired output on Power Bi.
Your help is much appreciated.
Solved! Go to Solution.
Hi @Andrew_na_lang
Please refer to attached sample file with the solution
PHONE NUMBER APPEARED MORE THAN ONCE =
IF (
COUNTROWS (
CALCULATETABLE (
'Table',
ALLEXCEPT ( 'Table', 'Table'[Phone number =] )
)
) > 1,
"Y",
"N"
)
NUMBER APPEARED TWICE and COMPLETED AN ORDER ON BOTH =
IF (
COUNTROWS (
CALCULATETABLE (
VALUES ( 'Table'[Origin] ),
ALLEXCEPT ( 'Table', 'Table'[Phone number =] ),
'Table'[TOTAL ORDER] <> BLANK ( )
)
) > 1,
"Y",
"NO"
)
Hi @Andrew_na_lang
Please refer to attached sample file with the solution
PHONE NUMBER APPEARED MORE THAN ONCE =
IF (
COUNTROWS (
CALCULATETABLE (
'Table',
ALLEXCEPT ( 'Table', 'Table'[Phone number =] )
)
) > 1,
"Y",
"N"
)
NUMBER APPEARED TWICE and COMPLETED AN ORDER ON BOTH =
IF (
COUNTROWS (
CALCULATETABLE (
VALUES ( 'Table'[Origin] ),
ALLEXCEPT ( 'Table', 'Table'[Phone number =] ),
'Table'[TOTAL ORDER] <> BLANK ( )
)
) > 1,
"Y",
"NO"
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
8 |