Forum Discussion
Anonymous
7 years agoNot applicable
Set conditional formatting between fields
Hi, I would like to change the color of a row if 2 field have the same name for example if I have the table (first name, last name, age) I would like to color of the same color row who has the same ...
- 7 years ago
Hi Anonymous ,
These are two separate measures.
The first one:
Measure = SELECTEDVALUE(Table1[FirstName])
The Index measure:
Index = RANKX(ALLSELECTED(Table1),[Measure],,ASC,Dense)
Best regards,
Yuliana Gu
v-yulgu-msft
7 years agoMicrosoft Employee
Hi Anonymous ,
What is the error?
Regards,
Yuliana Gu
Anonymous
7 years agoNot applicable
Hi v-yulgu-msft ,
It say that this syntax is incorrecthere is my measure as I follow yours I tried to put ";" instead of "," inside the RANKX function but it's still not working
- v-yulgu-msft7 years agoMicrosoft Employee
Hi Anonymous ,
These are two separate measures.
The first one:
Measure = SELECTEDVALUE(Table1[FirstName])
The Index measure:
Index = RANKX(ALLSELECTED(Table1),[Measure],,ASC,Dense)
Best regards,
Yuliana Gu
- Anonymous7 years agoNot applicable