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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
As per screenshot, I need a custom column to show duplicates on the JobID+Ticket column, based on the following conditions:
Solved! Go to Solution.
Hi @Anonymous
Try this measure:
Column =
VAR _Disc =
CALCULATE (
COUNTROWS ( 'Table' ),
FILTER (
ALL ( 'Table' ),
'Table'[JOBID+Ticket] = EARLIER ( 'Table'[JOBID+Ticket] )
)
)
RETURN
IF ( ISBLANK ( 'Table'[TICKET_NBR] ) || _Disc = 1, "No", "Yes" )
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hi @Anonymous
Try this measure:
Column =
VAR _Disc =
CALCULATE (
COUNTROWS ( 'Table' ),
FILTER (
ALL ( 'Table' ),
'Table'[JOBID+Ticket] = EARLIER ( 'Table'[JOBID+Ticket] )
)
)
RETURN
IF ( ISBLANK ( 'Table'[TICKET_NBR] ) || _Disc = 1, "No", "Yes" )
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
@Anonymous ,
a new column=
var _cnt = countx(filter(Table,[JobID+Ticket] =earlier([JobID+Ticket]) ),[JobID+Ticket])+0
return
if(isbalnk([TICKET_NBR]) && _cnt <=1 , "No", "Yes")
Hi @amitchandak , thanks but it doesn't look right as its only showing all "Yes"
@VahidDM, any suggestions please?
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 |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 17 | |
| 12 |