Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Different cell formats for the same column?

Hi !

I have data and I want a different format for each value depending it is an index, price, % or unit value.

Is it possible? I tried to used Text Format in the Expression Tab, it does not work!

The following table is an example of the expected output:

JanFebMar
Index0.0640.4550.125
Price200.001,506.5820,234.58
%1.5%2.3%1.4%
Units1,23449538,423

Thanks a lot for all your suggestions!

Cordially,

--- maoh

1 Solution

Accepted Solutions
sunny_talwar

Yes it is possible in a straight table or pivot table by using if statement:

If(FieldName = 'Index', Num(Expression, 'Formatting1), If(FieldName = 'Price', Num(Expression, 'Formatting2'),... and so on.

HTH

Best,

Sunny

View solution in original post

6 Replies
Not applicable
Author

Hi,

You can achieve it by using the custom format cell.

Not applicable
Author

First click on the grid and then right click on the chart and select the custom format cell as shown in figure 1

untitled15.bmp

and do the changes as per your requirements as shown in the figure 2

untitled16.bmp

sunny_talwar

Yes it is possible in a straight table or pivot table by using if statement:

If(FieldName = 'Index', Num(Expression, 'Formatting1), If(FieldName = 'Price', Num(Expression, 'Formatting2'),... and so on.

HTH

Best,

Sunny

jonathandienst
Partner - Champion III
Partner - Champion III

If you create the table with Index, Price etc as expressions and the month as a dimension, and select the Horizontal option in Presentation, the field formats in Number become row formats.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

It works!

Also, I must indicate 'Expression Default' as number format settings (Tab Number). If you indcate another number format settings, it does not work.

ExampleMultipleCellFormats.png

Then, the result looks like:

ResultMultipleCellFormats.PNG

Thanks a lot for all your suggestions

Not applicable
Author

Thanks a lot for your suggestion.