Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
danimarc12
Partner - Creator
Partner - Creator

Highlight duplicate values in straight table

Hello everyone!

I have this table 

Cattura.PNG

and I want to highlight the duplicate values in white to obtain this result:

Cattura2.PNG

Could anyone help me to solve my issue?

Thank you all!

1 Solution

Accepted Solutions
MarcoWedel

I see, didn't know this post.

I think you could use a text color expression like

If(RowNo()>1,White(0))

  to achieve this result in a table.

View solution in original post

8 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @danimarc12 ,

Can you please explain the scenario in detail please, as the above two tables have irrelevant data to each other which leads to confusion about what exactly needs to do?

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
danimarc12
Partner - Creator
Partner - Creator
Author

Hi @abhijitnalekar ,

basically the first image is my table. I want to color white the font of the duplicate values to obtain the result you see in the second image. The second image is just an example.

I think, in the dimension color text expression, I have to write something like:

if(count( Total <ID ordine>  ID ordine) > 1 , White()).

But I don't want to color all the rows, I want to color from the second duplicate. 

The result I want to reach is this one:

Cattura.PNG (on the right I have more columns).

I don't know if I'm clear 

MarcoWedel

Maybe you could just use a pivot table 

MarcoWedel_0-1638550887668.png

 

instead of a straight table?

MarcoWedel_1-1638550911799.png

 

 

danimarc12
Partner - Creator
Partner - Creator
Author

Hi @MarcoWedel , thanks for your answer!

I'm using the pivot table but I don't like that the header of the columns are not over the column as the straight table. As you can see, if I have a lot of columns it's gonna be difficult to understand the argument of the column.

Cattura.PNG

danimarc12
Partner - Creator
Partner - Creator
Author

MarcoWedel

I see, didn't know this post.

I think you could use a text color expression like

If(RowNo()>1,White(0))

  to achieve this result in a table.

danimarc12
Partner - Creator
Partner - Creator
Author

it doesn't work 😞

Cattura.PNG

MarcoWedel

Seems to work for me though

MarcoWedel_0-1638562138930.png

 

Can you please post a sample application that demonstrates this issue to test with? 

thanks

Marco