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
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"
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |