Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change the Number format for one value from the Expression

Hi,

My input table structures looks like something that is mentioned below:

WeekSales
Week110
Week220
Week3

30

Week440

I want to add a text box in the dashboard, that would only show the sum(sales) for Week4. And also the format for the expression should be in '%' value.

I tried applying the following expression in the text box, however it did not work !

Formula: =sum({$<Week={'Week4', '#,##0%'}>}[Sales])

Any thoughts on this ?

~Shalaka

2 Replies
jaimeaguilar
Partner - Specialist II
Partner - Specialist II

Hi,

try like this:

num(sum({$<Week={'Week4'}>} [Sales]), '#,##0%')


The % format has to be set by a function (num in this case),


regards

MarcoWedel

Hi,

another solution:

=Num(Sum(If(Week='Week4', Sales)), '#,##0%')

QlikCommunity_Thread_130483_Pic1.JPG.jpg

hope this helps

regards

Marco