Forum Discussion
Anonymous
6 years agoNot applicable
IF VALUE DUPLICATE
Hi Team i need your help i have data , which is im willing to remark if within column there are same value will result same as table below again, i also want to know how to remark but ...
- 6 years ago
Hi Anonymous ,
Please try this:
- Get an index column in Query Editor
- Create a calculated column
Column = VAR a = RANKX ( FILTER ( 'Table', 'Table'[DATA] = EARLIER ( 'Table'[DATA] ) && 'Table'[DATE] = EARLIER ( 'Table'[DATE] ) ), 'Table'[Index], , ASC ) RETURN IF ( a > 1, "Yes", "No" )Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
6 years agoNot applicable
just same like an excel
if value of table X in row 2 same with row 1 then "YES","NO"
how to make it in DAX
thanks
syaiful
v-xuding-msft
6 years agoCommunity Support
Hi Anonymous ,
Please try this:
- Get an index column in Query Editor
- Create a calculated column
Column =
VAR a =
RANKX (
FILTER (
'Table',
'Table'[DATA] = EARLIER ( 'Table'[DATA] )
&& 'Table'[DATE] = EARLIER ( 'Table'[DATE] )
),
'Table'[Index],
,
ASC
)
RETURN
IF ( a > 1, "Yes", "No" )
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.