Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

Total in Straight table row wise

Hi,

I have a straight table where i want to show Row wise Total.

In Dim i have few strings like

Dim                                  Expr(Count)

Product1 Source                    55

Product2 Source                  150

Product Target                       10

Product1 Target                      25

Product2 Target                      25

Product3 Source                     30

What i want is Just two fields in Dim and Expr as

Dim                        Total

Source                    235

Target                       60

I used set analysis though but not getting what i expect..

Thanks.

16 Replies
Not applicable

Re: Total in Straight table row wise

hi gtripathy,

can u please explain your Question more briefly So can Help u Quickly

Re: Total in Straight table row wise

here is an example

arsal_90
Contributor III

Re: Total in Straight table row wise

Can u just provide the sample data then i will make a sample document for u

Re: Total in Straight table row wise

Hi,

Create Straight Table ,

Use Dimension as,

=if(WildMatch(Dim,'*Target'),'Target','Source')

And Expression as Sum(Count)

For Better understanding I am attaching application.

Regards,

Regards,
Prashant Sangle
sunilkumarqv
Valued Contributor II

Re: Total in Straight table row wise

Use below Expression as your calculated dimension instead of Dim (Original)then label it as Dim

=If(index(Dim,'Source'), 'Source', 'Target')

Not applicable

Re: Total in Straight table row wise

Hi All,

Sorry if i couln't explain the req properly.

I'm showing counts of Source and Target for Product1,Product2...etc like below

Product1 Source                    55

Product2 Source                  150

Product Target                       10

Product1 Target                      25

Product2 Target                      25

Product3 Source                     30

What i want is Just to display Source and Target  (Where Source ll show the Total of Product1 Source,Product2 Source.. i,e all Product source) and likewise Target ll show Total of all Target Products.

anantmaxx
Contributor III

Re: Total in Straight table row wise

well in your case solution given by max dreamer should work have you tried ?

anant

Re: Total in Straight table row wise

Hi,

Can you provide sample data with proper dim data so that we can work on it

Regards

Regards,
Prashant Sangle
Not applicable

Re: Total in Straight table row wise

=if(WildMatch([product Name],'*Source*'),'Source', if(WildMatch([product Name],'*Target*'),'Target'))

I'm using this expression but don't know why don't i see Target??

Community Browser