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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi All,
I'm new to PowerBI and currently working on a single dataset, would like to filter the result of user and the subscription.
The user are having multiple subscription in both contract,
Can someone please advise how i can create a new column "duplicate" to show that if user is having duplicate subscription with value "YES" or"NO".
For example User1@email.com is duplicating his "subscription 1" in both contract, please help since this involving multiple column filtering.
| Email Address | Department | Subscription | Contract |
| User1@email.com | Department A | Subcription 1 | Contract A |
| User2@email.com | Department A | Subcription 2 | Contract A |
| User1@email.com | Department B | Subcription 1 | Contract B |
| User1@email.com | Department B | Subcription 3 | Contract B |
Solved! Go to Solution.
HI @voonwah ,
Create a column with below code:-
Column =
IF (
COUNTROWS (
FILTER (
'Table',
'Table'[Email Address] = EARLIER ( 'Table'[Email Address] )
&& 'Table'[Subscription] = EARLIER ( 'Table'[Subscription] )
)
) > 1,
"Yes",
"No"
)
Output:-
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
HI @voonwah ,
Create a column with below code:-
Column =
IF (
COUNTROWS (
FILTER (
'Table',
'Table'[Email Address] = EARLIER ( 'Table'[Email Address] )
&& 'Table'[Subscription] = EARLIER ( 'Table'[Subscription] )
)
) > 1,
"Yes",
"No"
)
Output:-
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 56 | |
| 43 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |