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 @qsmith83
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 @qsmith83
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!!
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?
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
User | Count |
---|---|
106 | |
60 | |
45 | |
28 | |
24 |
User | Count |
---|---|
129 | |
94 | |
75 | |
43 | |
38 |