Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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

1 Solution

Accepted Solutions
ramoncova06
Specialist III
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
Specialist III
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)