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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get values in Table box


Hi,

I have three tables. Employee,Department,Location

I need to create table box by using the columns from these three tables. I have link between these three tables. all is fine.

But I need to get one column Rate as like below

Amount/Purchasemoney/Claimfund.

Amount is from Employee, Purchasemoney is from Department and ClaimFund is from Location.

Could any one help me how to get this in table box.

Thanks.

7 Replies
swuehl
MVP
MVP

No calculations possible using a table box. Use a chart instead, e.g. a straight table chart.

Not applicable
Author

Thanks when I am using Straight table it's showing blank values in all columns would it be possible to get data in all columns in straight table?

swuehl
MVP
MVP

When using a chart, you need to decide which fields are dimensions and what aggregations to use:

http://community.qlik.com/blogs/qlikviewdesignblog/2013/03/25/dimensions-and-measures

Not applicable
Author

Thanks can you help please as I am getting no idea.

swuehl
MVP
MVP

Well, I don't know your data, model and requirements. That's make it impossible to understand what your issue might be.

But speaking very general, choose any appropriate dimensions (the 'group by clause').

Then you need to define an appropriate expression. Consider that you need to apply an aggregation function.

So, just guessing, start with simple sums:

=sum(Amount)

etc. and check if this returns something meaningful. Note that this also depends on your data model (and for my limitations to understand, see above).

You can create more complex expressions, of course:

=sum(Amount) / sum(Purchasemoney) / sum(ClaimFund)

CELAMBARASAN
Partner - Champion
Partner - Champion

Analyse whether all your tables are linked correctly.

Also Create straight table with dimensions as Employee, Department, Location, Amount, Purchasemoney, Claimfund

And Expression as Amount/Purchasemoney/Claimfund.

Note: if any one of the value(Amount, Purchasemoney, Claimfund) is missing in this then result will be null

Not applicable
Author

Thanks and if I want to write the expression to get value based on

(Amount to Date+Purchasemoney)/Claimfund

how can I write expression without NULL please let me know. If possible any set analysis please