Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to achieve the following report ?

Hi guys,

How to achieve the following report

MTD ActualMTD BudgetVariance (MTD Actual - MTD Budget)
A actual10
B actual20
C actual30
A budget010
B budget020
C budget030

Challenge is:

Where the MTD Actual has value, MTD Budget is 0

So, A actual(MTD Actual) - A budget(MTD Budget) is the value the variance column need

Please help how to achieve it.

I am using pivot table.

Thanks.

5 Replies
alexandros17
Partner - Champion III
Partner - Champion III

I Suppose that A, B, C are codes so you could link the tables containig Actual and Budget values by codes , in this way use the field of code as dimension.

Let me know

Anonymous
Not applicable
Author

instead of your Dimension which holds 'A actual' etc. make a calculated dimension

= left(yourdimension,1)

then it should Show 3 rows and you can define your third Expression as column(1)-column(2)

Not applicable
Author

Thanks for your reply.

MTD Actual and MTD Budget are dimensions. So how can i add Variance in the same ?

Anonymous
Not applicable
Author

try: sum([MTD Actual] -[MTD Budget])

why do you define measures as dimensions? what is the purpose?

Not applicable
Author

MTD Actual and MTD Budget are the dynamic column names coming.

The purpose is for A actual and so on for this fields are derived from some expressions.

sum([MTD Actual] -[MTD Budget]). So this wont work.