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: 
rolandg1881
Creator
Creator

Formula problem

Hi!

Here is my special formula 😉 but i don't know why it won't work.

I only want to see set analysis choice but it does not work, for example i say that i only want to see the customer 70407 but in the list are also other customers.

Does anybody know whats wrong? Is it completly wrong what i do?

sum(aggr(sum({<[RMA_ClaimType]={'accepted claim'},[Customer_Number]={70407},[ArtikelBezCarbon]={'L1'},[RMA_Typ]={'Reklamation'},[Lagerort_Lieferung]-={'RMA Abgangslagerplatz'}>}DISTINCT[RechPos_RMA_Menge]),RMA_Id))

 

Thank you very much!

6 Replies
QFabian
Specialist III
Specialist III

{'70407'}

QFabian
rolandg1881
Creator
Creator
Author

Hi!

Thank you but i dont think this is the solution, originally i had this syntax.

 

Greetings

QFabian
Specialist III
Specialist III

sorry!, you have to reply the set analysis sintax for the AGGR aggregation too

QFabian
rolandg1881
Creator
Creator
Author

Hi!

I have only this formula. 😉

I want the summary of RechPos_RMA_Menge (=amount) 

where the values are 

[RMA_ClaimType] = {'accepted claim'}

[CustomerNumber] = {'70407'}

[ItemName] =  {'L1'}

etc.

based on RMA_Id (Claim Id)

 

Greeitngs

Roland

 

 

QFabian
Specialist III
Specialist III

Without data for testing,, i should use something like this :

sum(
{< RMA_ClaimType = {'accepted claim'}, CustomerNumber = {'70407'}, [ItemName] = {'L1'} >}
aggr(
{< RMA_ClaimType = {'accepted claim'}, CustomerNumber = {'70407'}, [ItemName] = {'L1'} >}
sum(
{< RMA_ClaimType = {'accepted claim'}, CustomerNumber = {'70407'}, [ItemName] = {'L1'} >}
RechPos_RMA_Menge)
,RMA_Id))

QFabian
rolandg1881
Creator
Creator
Author

Thank you very  much!

I will try this and give you reply.

Greetings

Roland