Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Talk to Experts, a LIVE Q&A Webinar. Bring your Qlik Sense Business questions on Aug. 4th. Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator
Creator

number formatting error for only particular row>not working

Hi Friends,

 

I would like to change the formatting of my table row(only one row). 

 

I have tried this expression but which is not giving me the desired formatting. 

=if(Control='GMT Compliance(%)',Num(sum(ConMeasure),'00.00%'),Num( sum(ConMeasure) ,'00.00') )

 

am I wrong any where? 

 

Thanks & Regards,

Srini

1 Solution

Accepted Solutions
Highlighted

Re: number formatting error for only particular row>not working

If condition holds long, Please post full expression. Can you try this way?

=if(Control='GMT Compliance(%)',Num(sum(ConMeasure),'#.#0%'),Num( sum(ConMeasure) ,'#.#0') )

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)

View solution in original post

7 Replies
Highlighted
MVP
MVP

Re: number formatting error for only particular row>not working

Expression looks okay. Now, you have to explain the context in more detail (may be with a sample app) so that we can help.
Highlighted
Creator II
Creator II

Re: number formatting error for only particular row>not working

Change the Number formatting to 'Measure Expression' in expression editor

Regards,
Bhargav
Highlighted
MVP
MVP

Re: number formatting error for only particular row>not working

Bhargav, you probably meant 'Expression Default' ?
Highlighted
Creator II
Creator II

Re: number formatting error for only particular row>not working

Capture.PNGIn Expression editor

Highlighted

Re: number formatting error for only particular row>not working

If condition holds long, Please post full expression. Can you try this way?

=if(Control='GMT Compliance(%)',Num(sum(ConMeasure),'#.#0%'),Num( sum(ConMeasure) ,'#.#0') )

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)

View solution in original post

Highlighted
MVP
MVP

Re: number formatting error for only particular row>not working

Bhargav,

Yeah, I make this mistake often to not check the section where the thread is posted (qlik sense) and by default thinking of qlikview. 😋

Highlighted
Creator
Creator

Re: number formatting error for only particular row>not working

Thanks Bargav,

 

=if(Control='GMT Compliance' or Control='Clarity Timesheet Compliance
(%)' ,Num(sum(ConMeasure),'#,##0%'),Num(sum(ConMeasure),'#,##0') )

 

the above one I used based on your input.... it is working fine.... but when I want to use third dimension name it is not working... 

Then I modified the if statement in the below format but no luck 😞

=if(Control='GMT Compliance',Num(sum(ConMeasure),'#,##0%'),if(Control='Clarity Timesheet Compliance(%)',Num(sum(ConMeasure),'#,##0%'),if(Control='EIM Quality(%)',Num(sum(ConMeasure),'#,##0%'),Num(sum(ConMeasure),'#,##0'))))

 

 

any advise to have three dimension?