
Contributor II
2023-07-03
03:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Change the duplicate values color in a field
I have 5 rows of data and all are same value . I have scenario first row value should be black color and rest of 4 values are in same color
797 Views
3 Replies

Partner - Creator II
2023-07-03
05:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
use below expression in background color script of expression :-
=if(rowno()<=1,Red(),Green())
780 Views

Contributor II
2023-07-03
06:35 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My Scenario is
load * inline [
name
abc,
abc,
abc,
xyz,
xyz ];
I wanna to display one duplicate values to be red color and first row data is black color
771 Views

Partner - Creator II
2023-07-03
07:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok, use aggr function to customize requirement:-
for example:-
if(sum(aggr(count(USER),Region))>1,Red(),if(rowno(TOTAL)=1,Black()))
766 Views
