Data transformation - Replacing values not showing up

Stimulsoft Reports.WEB discussion
Post Reply
MKA
Posts: 5
Joined: Thu Mar 09, 2023 9:10 am

Data transformation - Replacing values not showing up

Post by MKA »

Dear

I have a dashboard with a table (see attachment 1).
Attachment 1.png
Attachment 1.png (60.33 KiB) Viewed 622 times
Now I would likle to replace the category values with some other text. With other words replace in the table the values:
  • 1 by 'Category 1'
  • 2 by 'Category 2'
  • 3 by 'Category 3'
  • ...
But, if I open the header menu in data transformations, the 'replacing values' menu item is missing under actions (see attachment 2).
Attachment 2.png
Attachment 2.png (34.27 KiB) Viewed 622 times
What I am doing wrong?

Best regards
MKA
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Data transformation - Replacing values not showing up

Post by Lech Kulikowski »

Hello,

In this case, you should use the Calculate column in the original data source.

Thank you.
Attachments
Screenshot 2024-03-13 102355.png
Screenshot 2024-03-13 102355.png (167.2 KiB) Viewed 603 times
MKA
Posts: 5
Joined: Thu Mar 09, 2023 9:10 am

Re: Data transformation - Replacing values not showing up

Post by MKA »

Dear Lech

Thank you very much for your reply.

"Category 1", "Category 2", ... were just an example. This table represents the number and percentage of types of incidents. So, the category id's I would like to replace by:
  • 1 should become "Fire incidents"
  • 2 should become "Hazard incidents"
  • 3 should become "Road accidents"
  • ...
Furthermore, it should also be possible to show that report in different languages. (localize these strings)

Best regards
MKA
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Data transformation - Replacing values not showing up

Post by Lech Kulikowski »

Hello,

> "Category 1", "Category 2", ... were just an example. This table represents the number and percentage of types of incidents. So, the category id's I would like to replace by:

It can be made in the original data source or calculated columns, there are no other options.

> Furthermore, it should also be possible to show that report in different languages. (localize these strings)

Please check the Globalization Strings option of the report:
https://www.stimulsoft.com/en/documenta ... editor.htm

Thank you.
Post Reply