This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello, I hope you can guide me on this problem.
I am attempting to count each instance an appoinmtent is created (Event Created date), but I need to exclude lines from the count if another element (invitees email address), is duplicated in the dataset.
So firstly, I am trying to identify duplicates in the email addresses and store them in a created column
Having difficulty with that
Can you advise please
Solved! Go to Solution.
Hi @SuzanneSte your RepEmailCol calculated column could be like below. Hope this help
RepEmailCol=
--Check_duplicate
VAR _currentvalue='events-export'[Invitee Email]
VAR _count_filtering=
COUNTROWS(
FILTER(
'events-export',
'events-export'[Invitee Email]=_currentvalue
)
)
VAR _Result=
IF(
_count_filtering>1,
"Duplicate",
"Distinct"
)
RETURN _Result
Proud to be a Super User!
Thank you !!!
Great help
Hi @SuzanneSte your RepEmailCol calculated column could be like below. Hope this help
RepEmailCol=
--Check_duplicate
VAR _currentvalue='events-export'[Invitee Email]
VAR _count_filtering=
COUNTROWS(
FILTER(
'events-export',
'events-export'[Invitee Email]=_currentvalue
)
)
VAR _Result=
IF(
_count_filtering>1,
"Duplicate",
"Distinct"
)
RETURN _Result
Proud to be a Super User!
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 23 | |
| 22 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 27 | |
| 22 | |
| 20 |