Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Leverage your QlikView investment to modernize BI – see how! Join Group
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor III
Contributor III

Different number formats in Straight Table Expressions

Hello Everyone,

I want to Different number formats in Straight Table Expressions.

For Operating Income is $, For NOI Margin is %

How can it possible?

AccountAmount
Income6,000 $
Margin27.8%

 

Regards,

1 Solution

Accepted Solutions
Highlighted
Partner
Partner

Re: Different number formats in Straight Table Expressions

Try this:

 

MC.PNG

Create a straight table with Account as Dimension,

Expression: 

if(Account='Income',num(sum(Amount),'#,###'),
if(Account='Margin',num(sum(Amount)/100,'##.#%')))

In chart properties > Number >Select Expression Default.

Thanks and regards,

Arthur Fong

 

 

View solution in original post

2 Replies
Highlighted
Partner
Partner

Re: Different number formats in Straight Table Expressions

Try this:

 

MC.PNG

Create a straight table with Account as Dimension,

Expression: 

if(Account='Income',num(sum(Amount),'#,###'),
if(Account='Margin',num(sum(Amount)/100,'##.#%')))

In chart properties > Number >Select Expression Default.

Thanks and regards,

Arthur Fong

 

 

View solution in original post

Highlighted
Digital Support
Digital Support

Re: Different number formats in Straight Table Expressions

Askin, did Arthur's suggestion work for you?  If so, do not forget to return to the thread and use the Accept as Solution button on his post to give him credit for the help and to let other Community Members know it did work.  If you are still working on things, leave an update on what you still need.

In these cases, attaching a sample QVW file can be helpful too.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.