Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
berryandcherry6
Creator II
Creator II

Hiding particular row in table

I have table where one column row heading is made static with below code

MetricsDims:

LOAD * INLINE [ 

      Metrics 

Apple amount

Grapes amount

gross amount

total amount

];


for some table i need to show total amount and for some not.How could i do this .Please help me.



1 Solution

Accepted Solutions
sunny_talwar

May be using the Num() function:

Num(If(Metrics = 'total amount'', (Sum(apple_amount) + Sum(grapes_amount))), '$ #,##0.00')

View solution in original post

4 Replies
sunny_talwar

May be use the set analysis in your expression:

{<Metric -= {'total amount'}>}

or

{<Metric ={'*'} - {'total amount'}>}

Alternatively, you can use a calculated dimension:

If(Not Match(Metric, 'total amount'), Metric)

and then check 'Suppress When Value Is Null' on the dimension tab of the chart properties

berryandcherry6
Creator II
Creator II
Author

Hi sunny,

Thanks for reply

in Expression ,i am using this, i am getting value ,

if(Metrics = 'total amount'',(((Sum(apple_amount)+sum(grapes_amount)))

but In front of this total amount i want to display $ 'Symbol'  .

Ex: total is 500.

i want to display it as $500 .


How could i do this.  Please help me.

sunny_talwar

May be using the Num() function:

Num(If(Metrics = 'total amount'', (Sum(apple_amount) + Sum(grapes_amount))), '$ #,##0.00')

berryandcherry6
Creator II
Creator II
Author

Hi Sunny

Thanks,You are my charm as always.:)