Select to view content in your preferred language

How to round the value of {percentChange}

996
2
Jump to solution
04-01-2021 01:57 PM
MichaelBouvet
Regular Contributor

Hello, 

I am using the {percentChange} arcade syntax to show the percentage increase or decrease in a YTD indicator in dashboard. It works great, but as shown in the screenshot provided, the resultant value is not rounded. 

Does anyone know how to make sure the value gets rounded? 

 

MichaelBouvet_1-1617310605231.png

 

0 Kudos
1 Solution

Accepted Solutions
SteveOwens
Occasional Contributor

Scroll down on that screen to Formatting. Change the Percentage Pattern to "##.#", see if that works.

SteveOwens_0-1617311221244.png

 

View solution in original post

2 Replies
SteveOwens
Occasional Contributor

Scroll down on that screen to Formatting. Change the Percentage Pattern to "##.#", see if that works.

SteveOwens_0-1617311221244.png

 

MichaelBouvet
Regular Contributor

This worked! Thank you so much!

0 Kudos