11
Views
3
Comments
Solved
Trim group by attribute value in chart

Hi All

In my reactive web application, I show a chart whose data I pick from the aggregate. I group by the x value, but for one chart x axis value, my text in view should be a trimmed value of the entity attribute. For example if I get an x-axis value as "New Status" I should show only "New" in my chart. How can we achieve this? 

Rank: #88
Solution

Hi,


You can use if Condition in label like 

if(Name="New Status","New",Name)


Hope this will help you.

Regards

Rahul

Rank: #285

Hi Kavya,

You can use Replace function to make it work with any type of value dynamically, you can use it as following:

Replace(AxisValue," Status","")

Note: You will find this function from Built-in Functions -> Text Folder as shown in screenshot below


Hope it works, Thanks

Rank: #3049

Thanks Shweta