N O T I C E


MSPbots WIKI is moving to a new home at support.mspbots.ai to give you the best experience in browsing our Knowledge Base resources and addressing your concerns. Click here for more info!


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


You can customize how values appear on your widgets and dashboards to make data easier to read or format according to your preference.

What's in this article:    

 

This procedure works when the Business Type of the Dataset Column Display is set to Number.
business type


How to get to the Custom window

  1. Navigate to Widgets on the MSPbots app. 
  2. Find the widget for customization in the My Widgets tab and open it using any of the following ways:
    • Click the widget. 
      My Widgets

    • Click the ellipsis button and select Edit.  
      edit widget

      Alternatively, you can also click the ellipsis  button on the widget on your dashboard and select Edit
      edit widget 
  3. When the Widget Builder window appears, go to Dataset, click the ellipsis button, and select Edit
    edit widget 
  4. When the Dataset window appears, find the column name for customization and select the corresponding  icon. 
    customize formatting 
  5. Click Custom on the Format pop-up. 

  6. Type your preferred format in the Custom field. Be guided by the formatting options below. 
    For example, if you want 10000 to be displayed as 10,000.0000, enter 0,0.0000 into the Custom field.
  7. Click Save on the Format pop-up.
  8. Click Save on the Dataset window to keep your customizations.

Formatting Guide for Numerals

OrderField Value (raw format) FormattingOutputDescription
110000       0,0.000010,000.0000Adds separators in the whole number where appropriate and four digits after the decimal point.
210000.230,010,000Adds separators in the whole number where appropriate and rounds to nearest whole number.
310000.23+0,0+10,000Rounds to the nearest whole number, adds separators where appropriate, and displays positive or negative notations where appropriate.
4-100000,0.0-10,000.0Adds separators in the whole number where appropriate and one digit after the decimal point and displays positive or negative notations where appropriate.
510000.12340.00010000.123

Rounds to three decimal places and rounds to  the nearest  number.

6100.12340000000100Rounds to nearest whole number and keeps five digits in the integer part.
71000.1234000000,0001,000Rounds to the nearest whole number and  adds separators in the whole number where appropriate and keeps six digits in the integer part.
810000.00010.00Adds two digits after the decimal point and keeps three digits in the integer part.
910000.12340[.]0000010000.12340Adds five digits after the decimal point and if no decimal, displays whole number.
10-10000(0,0.0000)(10,000.0000)Adds four digits after the decimal point and separators in the whole number where appropriate. If the number is negative, it appears in parenthesis.
11-0.23.00-.23Strips the whole number and displays only the decimals to two digits after the decimal.
12-0.23(.00)(.23)Strips the whole number and displays only the decimals to two digits after the decimal.If the number is negative, it appears in parenthesis.
130.230.000000.23000Adds five digits after the decimal point and displays the whole number.
140.230.0[0000]0.23Displays one digit after the decimal with allowance up to five total, if appropriate, and displays the whole number.
1512309740.0a1.2mRounds to the nearest thousandth and adds one digit after the decimal point and displays a letter for the magnitude change, with a space between the magnitude symbol and the number.  
1614600 a1 kRounds to the nearest thousandth and displays a letter for the magnitude change.
17-1040000a-104kRounds to the nearest thousandth and displays a letter for the magnitude change.
1810o1stAdds ordinal letters after the number, rounds to the nearest whole number (1st, 2nd, 3rd, 4th...).
191000o100thAdds ordinal letters after the number, rounds to the nearest whole number (1st, 2nd, 3rd, 4th...).

Currency

(Use the $ symbol in the formatting, but the output will be the local currency sign $, £, or € ) (Local Currency is based on account language setting.)
OrderField Value (raw format) FormattingOutputDescription
11000.234$0,0.00$1,000.23Adds separators in the whole number where appropriate and rounds two digits after the decimal point  and rounds to  the nearest  number and adds the local currency symbol before the number.
21000.20,0[.]00 $1,000.20 $Adds separators in the whole number where appropriate and rounds two digits after the decimal point  and rounds to the nearest  number and adds the local currency symbol after the number and if no decimal, displays whole number.
31001$ 0,0[.]00$ 1,001Adds separators in the whole number where appropriate and rounds two digits after the decimal point  and rounds to the nearest  number and adds the local currency symbol before the number and if no decimal, displays whole number.
4-1000.234($0,0)($1,000)Adds separators in the whole number where appropriate, rounds to the nearest whole number, and adds the local currency symbol before the number. If the number is negative, it shows in parenthesis.
5-1000.234$0.00-$1000.23Adds two digits after the decimal point, rounds to the nearest number, and adds the local currency symbol before the number.
61230974($ 0.00 a)$ 1.23 mDisplays the nearest thousandth with two digits after the decimal, a letter for the magnitude change, and the local currency symbol before the number.If the number is negative, it shows in parenthesis.

Bytes

OrderField Value (raw format) FormattingOutputDescription
11000b100BAdds B after the number.
210240b1KB

Divided by 1000 and rounds to the nearest whole number and add 'KB' after the number.

320480 ib2 KiB

Divided by 1024 and rounds to the nearest whole number and add 'KiB' after the number.

430720.0 b3.1 KBDivided by 1000 and adds one digit after the decimal point and rounds to the nearest number and add 'KB' after the number.
578844862130.00b7.88GBDisplays the nearest thousandth with two digits after the decimal and add 'GB' after the number.
634674796827870.000 ib3.154 TiBDisplays the nearest thousandth with three digits after the decimal and add 'TiB' after the number.

Percentages

OrderField Value (raw format) FormattingOutputDescription
110%100%Multiplies the value by 100 and adds a percent sign.
20.9748782340.000%97.488%Multiplies the value by 100 and adds three digits after the decimal point and rounds to the nearest number and adds a percent sign.
3-0.430 %-43 %Multiplies the value by 100 and adds a percent sign.
40.43(0.000 %)43.000 %Multiply the value by 100 and adds three digits after the decimal point and rounds to the nearest number and adds a percent sign.If the number is negative, it shows in parenthesis.

Time

OrderField Value (raw format) FormattingOutputDescription
12500:00:000:00:25Seconds: Numbers less than 60 are displayed in the seconds  position.
223800:00:000:03:58

For numbers greater than or equal to 60 and less than 3600:

  • Minutes: Divide by 60 to get the integer part.
  • Seconds: Multiply the decimal part of the result from dividing by 60 by 60 to get the seconds.
36384600:00:0017:44:06

For numbers greater than or equal to 3600:

  • Hours: Divide by 3600 to get the integer part.
  • Minutes: Multiply the decimal part of the result from dividing by 3600 by 60 to get the integer part.
  • Seconds: Multiply the decimal part of the result from dividing by 3600 by 60 to get the decimal part, then multiply the result by 60 to get the seconds. 

Exponential

OrderField Value (raw format) FormattingOutputDescription
111234567890,0e+01e+9Displays the nearest thousandth with the whole number and add 'e', and  add 10-based exponent when the exponent is positive, subtract when the exponent is negative.
212398734.2020.00e+01.24e+7Displays the nearest thousandth with two digits after the decimal and add 'e' and add10-based exponent when the exponent is positive, subtract when the exponent is negative.
30.0001239870.000e+01.240e-4Displays the nearest thousandth with three digits after the decimal and add 'e' and add10-based exponent when the exponent is positive, subtract when the exponent is negative.


  • No labels