Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
26 | |
21 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |