The goal of this article is to add some custom icons in your Webi/N4V elements. For instance, you need to represent the trend of a measure with a up/down colored double arrow and add the capability to filter your data with those icons :
To achieve that, follow these steps :
-
Create a Webi formula that calculate your trend (with a conditional formula for instance) and the result is an
HTML code representing the arrow : [image: image]
Now if you want to color your arrow (red for down arrow and green for up arrow), transform the output of the conditional formula with an
HTML syntax : [image: image]
You can also put the icon in bold by addind the corresponding “b” tag : [image: image]
Now you can use your variable in your favorite N4V element (ex. the table filter), then change the title of the dimension and set the filter of the corresponding dimension as “list of value” : [image: image]
Now you can filter your data with your up/down arrow : [image: image]