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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

An expression that IGNORES DIMENSIONS

Hi guys and gals,

I have table that say has 4 dimensions and then a sum(value) field. I want to create an expression that will give me the min value for dimension 2 and ignore the other 2 further down dimensions that gives my table more granularity.

So to illustrate

D1: Person     D2: BusinessUnit     D3: Cost          Expression: min(Value by D2)

a                    1                            500                  50

b                    1                            1000                50

c                    2                            400                  400

d                    3                            300                  300

e                    4                            200                  200

f                     1                            50                    50

g                    2                            2000                400

How do i achieve this with a min expression

Thanks,

Byron

Labels (1)
1 Solution

Accepted Solutions
matt_crowther
Specialist
Specialist

try:

=min(total <BusinessUnit> Cost)

Works for me.

Matt - Visual Analytics Ltd

View solution in original post

2 Replies
matt_crowther
Specialist
Specialist

try:

=min(total <BusinessUnit> Cost)

Works for me.

Matt - Visual Analytics Ltd

Not applicable
Author

Perfect

I tried aggr but it didnt show me values for the rest of the fields

Thanks a lot Matt

Cheers,

Byron