Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
LDR
Creator II
Creator II

Totals row doesn't show any value

Hi everyone,

I'm writing you because I'm trying to find the reason because one table object is not showing any value in the "Totals" row.

In my table all columns are master ítems with a specific set analysis  and all of them are showing data but totals are not calculated and I don't know the reason.

 

Qlik.png

 

Maybe, is it necessary to include some formula for totals row?

 

Thanks in advance for your help

2 Solutions

Accepted Solutions
squeakie_pig
Creator II
Creator II

Because of the IF statement in the expression you might need to force the measure. Further down the measure details you should be able to choose a measure type (sum, count, avg etc)

measure_expression.png

View solution in original post

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I believe this should be written as Sum(If()):


SUM(
if ( Not WildMatch ([Part],'ABA.*')
  and [Manufacturing Date] = (today(0) -1)
  and [Machine] = 'M9987'
,[Manufactured Quantity]))

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

View solution in original post

7 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

It sounds like those measures won't calculate correctly without some dimension criteria. What happens if you put measure in a KPI object. Does it calculate?

-Rob

LDR
Creator II
Creator II
Author

When I assigned one my measures to a KPI object it doesn't show any value. Maybe the reason is cause I calculated that master ítem with "if" sentence instead of "sum":

if ( Not WildMatch ([Part],'ABA.*')
and [Manufacturing Date] = (today(0) -1)
and [Machine] = 'M9987'
,SUM([Manufactured Quantity]))

Thanks

tm_burgers
Creator III
Creator III

Would it work to use the If Statement for your Dimensions in the table; and then use the measure SUM([Manufactured Quantity]) 

 

Dimension = 

if ( Not WildMatch([Part],'ABA.*')
and [Manufacturing Date] = (today(0) -1)
and [Machine] = 'M9987', [Dimension] )

 

Measure =

SUM([Manufactured Quantity]) 

squeakie_pig
Creator II
Creator II

Because of the IF statement in the expression you might need to force the measure. Further down the measure details you should be able to choose a measure type (sum, count, avg etc)

measure_expression.png

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I believe this should be written as Sum(If()):


SUM(
if ( Not WildMatch ([Part],'ABA.*')
  and [Manufacturing Date] = (today(0) -1)
  and [Machine] = 'M9987'
,[Manufactured Quantity]))

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

LDR
Creator II
Creator II
Author

Thanks a lof for your answers they were very useful. 

Both of them work for me but I'm going to change my formula for master ítems measures putting IF statement inside SUM function.

Have a nice day

Reynaldo
Contributor
Contributor

You saved my life!!

Thanks,