Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate % divided by total in pivot and set analysis

Hi!

I want to calculate % of ordercount/Total. I am getting wrong % in Qlikview Please Help

excel.bmp

I try funtion in "% de Asignación"

=sum( {$<recd_tramo ={'1','2'}  >}  recd_deuda_total)

/

sum(TOTAL  < recd_ccc_ajustado >{$<recd_tramo ={'1','2'}  >}  recd_deuda_total  )

Add .qvw

Thanks!!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

I think you need Date in your TOTAL qualifier field list:

=sum( {$<recd_tramo ={'1','2'}  >}  recd_deuda_total)

/

sum(TOTAL  < Date >{$<recd_tramo ={'1','2'}  >}  recd_deuda_total  )

View solution in original post

1 Reply
swuehl
MVP
MVP

I think you need Date in your TOTAL qualifier field list:

=sum( {$<recd_tramo ={'1','2'}  >}  recd_deuda_total)

/

sum(TOTAL  < Date >{$<recd_tramo ={'1','2'}  >}  recd_deuda_total  )