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: 
qvhjenvo
Contributor
Contributor

Same expression, but to different result because of dimensions

Hi,

I have 2 tables. See attachment.

The two tables use same same Expression. The different between dem is ledger_no as dimension.

Table1 is a table with ledger_no. And Table 2 has no ledger_no.

The problem is that the total (482,2) in table 2 is wrong.

I can not understand why total in table 2 is differed from total in table 1.

Someone can help me? Thanks in advance. 

4 Replies
MK_QSL
MVP
MVP

Change your variable definition

$(expBeløpNyeTilsagn)

sum( {$<ledger_status_group_desc = {'Tilsagn'}, month = {">=1 <= $(=max(month))"}>} allocated_amount_bc * currency_exchange_factor)/ $(vBeløpEnhet)

sujeetsingh
Master III
Master III

Use expression as Total in spite of taking sum of rows

sujeetsingh
Master III
Master III

See this sample

qvhjenvo
Contributor
Contributor
Author

Hi M,

Thanks for your reply.

What I want is total for current month, not accumulated for months.