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

column is not affected by a particular filter

Hi,
Is to make a particular column is not affected by a particular filter?
Example:
Sum ({$ <Metas.ANO_MES={'$(v_data_meta)'}>} Metas.META)
The resuIts not be affected when I click on the filter CFOP

8 Replies
Not applicable
Author

Hello Gleybson,

I suggest you to try this:

Sum ({$ <Metas.ANO_MES={'$(v_data_meta)'} , CFOP={'*'} >} Metas.META)


Regards, Roland

Not applicable
Author

Hi Roland, I tried that way too, but the result changes.
This column can not receive filter CFOP selections.

Not applicable
Author

Another thing, if I put in a joint analysis in lieu of $ works there, but the tire size forfunctioning well.
Sum ({1 <Metas.ANO_MES v_data_meta ={'$()'}>} Metas.META)

Not applicable
Author

Hi Gleybson,

can't believe that, sorry.

a) CFOP={'*'} means independence of the users selection of field CFOP.

b) the '1' instead of the '$'-sign at the beginning of your SET - expression means NO single selection is regarded.

RR

erichshiino
Partner - Master
Partner - Master

I'd use a different syntax:
In your case:
Sum ({$ <Metas.ANO_MES={'$(v_data_meta)'} , CFOP={'*'} >} Metas.META)
you get everything on CFOP, but ignore nulls, dont you?
You can make it:
Sum ({$ <Metas.ANO_MES={'$(v_data_meta)'} , CFOP= >} Metas.META)

Then you just ignore selection and get everything
Not applicable
Author

Hi Erich,

yes, this is also possible. But I had some trouble a few weeks ago with it when using it more then twice within one set-statement.

sum( {< VJahr=,VMonat= >} VRGBetrag)
works fine

sum( {< VJahr=,VMonat=, VMenge= >} VRGBetrag)
doesn't

BUT:

sum( {< VJahr={'*'},VMonat={'*'}, VMenge={'*'} >} VRGBetrag)
works fine (again)

So I prefer the '*'.

Regards, Roland

Not applicable
Author

hi,
thus CFOP =
It works the same way that taking the $ and put the number 1. That is, the dimensions do not respond to anything.
I try to select a size and click it continues to show everything.



Miguel_Angel_Baeyens

Hola Gleybson, respondo en español,

Lo que indican tanto Roland como Eric es correcot, y hay una diferencia respecto del uso del "1" en análisis de conjuntos. Si lo que quieres es que la expresión que ya has indicado funcione independientemente de la selección que realices en el campo CFOP, entonces debería quedar como

Sum({< Metas.ANO_MES = {'$(v_data_meta)'}, CFOP = >} Metas.META)


Sin nada detrás del "=". Así es como la sintaxtis del análisis de conjuntos debe funcionar.

Por otro lado, en la expresión he eliminado el signo "$". La diferencia entre "$" o "1" (si no pones nada, se presupone el "$") es si se deben tener en cuenta las selecciones actuales que afectan a las dimensiones de tu objeto o no, en el momento de realizarse el gráfico. Si lo que quieres es que independientemente de lo que selecciones en el campo CFOP el cálculo sea el mismo, la sintaxis de arriba debería funcionar.

Espero que te sirva.