Number formatting
Last updated
Last updated
Inforiver for Power BI comes prepackaged with intelligent number formatting & scaling recognition capabilities that help display data in a perceptive manner in your table/matrix style reports right out of the box.
Let us take a sample dataset as shown below. You can immediately spot data of mixed granularity – with values in millions, thousands, and even one that is just a few dollars worth.
Let us see how you can handle a dataset of varying granularities & formats using Inforiver.
In the Home tab, click on the 'Quick format' dropdown. There are several options, let us look at each of them in detail.
By default, when you assign this data to Inforiver, each measure is formatted using an individual scale. The scaling for each measure is shown in the column header. This is useful to show measures of varying granularities (e.g., Revenue & Quantity) in the same table.
The 'Uniform' option applies one fixed scale to the entire table and moves the scaling unit display to the header. This is useful when all the measures are of comparable magnitude (e.g., Sales vs Forecast) in the same table.
Inforiver automatically chooses the scaling based on the values. But you can change it if needed. When you expand the dropdown again, you can see more options. You can select millions, billions, etc. as needed.
When using the 'Auto' option, each cell is formatted individually. In the below image, you can see the suffixes - m and k to denote millions and thousands.
If you do not want any fancy formatting and need the numbers just as they are in the source data, select the ‘Native’ option.
Inforiver also shows the unscaled values in the tooltip (available upon publishing to service). This helps you scale values without losing the ability to look up the unscaled value whenever required.
Inforiver provides options to fine-tune the format at a row, column/measure, or cell level using the icons just below the 'Quick format' dropdown. These options include conversion to % format, attaching prefix/suffix, and increasing/decreasing decimal spaces.
In this example, we have current year and prior year sales, YoY sales, and Margin.
As you can see in the footnotes, the measure Margin is actually Margin% and needs to be converted as a percentage.
To do this, let's select the column. % icon gets enabled. Once you click on the icon, the values get converted to percentages.
Using Inforiver, you can insert prefixes such as currency or suffixes like units.
In the below example, the price is $ per unit. Select the column and click on the highlighted icon. Enter the prefix and suffix as shown.
Click 'Apply'. The changes get reflected as highlighted.
You can increase or decrease decimal places at a cell/row/column level.
Let's remove the decimals for the Sales and Price columns. Use Shift+Select to select the two columns and click on the 'Decrease decimal' icon twice. The decimals are removed. The 'Increase decimal' option can be used similarly to increase decimal places.
Inforiver provides a number of options to customize numbers.
In the 'Home' tab, click on the 'Display' settings. In the 'Numbers' tab, you'll find options such as Semantic formatting, Value display, Sign, and more. In this section, let's talk about semantic formatting.
You can see the positive and negative options on enabling the toggle, as shown below. By default, they are shown in green and red, but they can be customized using the color picker.
You can also display positive and negative numbers in the formats shown below.
In the next section, we'll be covering Cell & value formatting.