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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis - stupid question!

Hi all

I have 3 different companys and 3 different facts.

I want to show only 1 fact (Actual) in 1 company ... how can I do this?

To show all companies revenue I use this formula:

Num(sum({<Fact.Type = {'Sales'}>}Fact.Net_Rev_EUR), '#''##0.00')

To show only company PTX I tried this, but it gives me the wrong result, as it summarize the total in PTX:

sum({<Fact.Type = {'Sales'}> + <link_table.Company_Desc = {'PTX'}>}Fact.Net_Rev_EUR)

I want that only PTX is displayed...

Thanks for your help

Oliver

Labels (1)
1 Solution

Accepted Solutions
ramoncova06
Partner - Specialist III
Partner - Specialist III

add the company desc into your set analysis


Num(sum({<Fact.Type = {'Sales'},link_table.Company_Desc = {'PTX'} >}Fact.Net_Rev_EUR), '#''##0.00')

View solution in original post

3 Replies
ramoncova06
Partner - Specialist III
Partner - Specialist III

add the company desc into your set analysis


Num(sum({<Fact.Type = {'Sales'},link_table.Company_Desc = {'PTX'} >}Fact.Net_Rev_EUR), '#''##0.00')

Not applicable
Author

Hi Ramon

Thanks for your help!


Cheers

Oliver

MK_QSL
MVP
MVP

sum({$<

          Fact.Type = {'Sales'} ,

          link_table.Company_Desc = {'PTX'}

>}Fact.Net_Rev_EUR)