Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

"contain" in expression

Hi,

i solve this problem yesterday, but with no result

I have a formula, where the first part defines the last one week of period for statistic, then some conditions and the last one is my request - possibility of limit concreete places of sale.

Please send me an advice where i should pleace a limited conditon for this "containing" expression.Thx a lot. Jaromir

 

sum({<Year={$(=max(Year))},Week={"$(=max({<Year={$(=max(Year))}>}Week))"},Buyer={'Man'},ItemSuplierCountry={'China'},Centre={'Prag,Viena,Boston'}>}(NAKPRO.qty)) 

1 Solution

Accepted Solutions
tresesco
MVP
MVP

try writing :

Centre={'Prag,Viena,Boston'} - wrong

as

Centre={'Prag','Viena','Boston'} - should be like

View solution in original post

2 Replies
tresesco
MVP
MVP

try writing :

Centre={'Prag,Viena,Boston'} - wrong

as

Centre={'Prag','Viena','Boston'} - should be like

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Try this.

     sum({<Year={$(=max(Year))},Week={"$(=max({<Year={$(=max(Year))}>}Week))"},Buyer={'Man'},ItemSuplierCountry={'China'},Centre={"Prag","Viena,Boston"}>}(NAKPRO.qty))

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!