Create one decimal only in specific area

  • Goal:

    Make the column [Internet Average Unit Price], [Internet Sales Amount] and [Internet Total Product Cost] with Arizona area to have one decimal only. The remaining numbers in different City, State province to have non decimal value.

    Problem:

    I tried finding a solution for it but I failed.

    Information:

    *Using AdventureWorks DW 2012 multidimensional

    *The datasource is SSAS.

    *The list in the picture is not before affected in format. In other words, it is raw data from SSAS.

  • Hi,

    This can be done by using an expression on the format property for each of the 3 fields required.

    The expression for the format property would be something like;

    =iif(Fields!State_Province.Value="Arizona","N1","N0")

    This would fix the format for 1dp for the Arizona group and 0dp for everything else.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply