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: 
bansefi01
Contributor II
Contributor II

KPI + SUM function to add multiple fields

I have multiple fields that need to be added in a KPI, how can this be solved ?

Sum ([Monto TP (punto fijo)],[Monto TP (punto temporal],[Monto TDD])

thanks

4 Replies
sunny_talwar

May be this

RangeSum(

Sum([Monto TP (punto fijo)]),

Sum([Monto TP (punto temporal]),

Sum([Monto TDD])

)

bansefi01
Contributor II
Contributor II
Author

thanks

bansefi01
Contributor II
Contributor II
Author

Thanks a lot, i used it and it works perfectly

Wondering, is there a way to have SUM function for diferent fields with same name begin?

something like this

RangeSum(

Sum( {$} [<="punto*">]

Expected result should be the sum for all data fields with the same "punto" begin string

Thanks

sunny_talwar

You should be able to use The Crosstable Load and then convert your fields into a column then use set analysis to do this....