Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
alanmcgrath
Creator
Creator

Sum on one dimension where many

Hi Everyone,

I am replicating and enhancing a report in QV that was previously done in Excel but getting stuck where there was a SumIF in excel, I can't seem to replicate that portion.

I have a straight table in QV that has several dimensions and would like to add an expression that sums only on one dimension but can't seem to figure out how.

Attached is a spreadsheet with some dummy data and column  "Cost by Client Type" is what I'm trying to get to.  I'm sure its easy but I can't figure it out.

Thanks!

Client TypeClient NameOrderOrder NameManagerCostCost by Client Type
1ABC123April1Bob100450
1DEF124April1Jim200450
1GHI125March1Bob150450
2ABC126Feb1Mark100400
2ABC127Mar1Dave300400
1 Reply
Not applicable

Try this:

SUM(TOTAL <[Client Type]> Cost)

Thanks,

Clark