Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
cristianevpm
Contributor III
Contributor III

Calcular sem set analysis

Estou usando Set Analysis para calcular um gráfico, quando o campo 'KM' é selecionado.

Como é um gráfico 'tabela simples'  preciso do resultado de todas as linhas, sem minha ação de selecionar.

Como posso fazer isso?

Resultado:

if(GetSelectedCount(km) > 0,

Min(ALL if(Km_Ini_Real >= vKmInicialSelecionado and Km_Fin_Real <= vKmFinalSelecionado, Area_Restricao_Total))

, min(Area_Restricao_Total))

1 Solution

Accepted Solutions
suryaa30
Creator II
Creator II

Hi All,

Please find attached doc. I have created a copy sheet to implement the changes.

I have created two alternate states Alt and Alt2. And used field event triggers and transferred selections using exlude set analysis condition.

Left table is in Inherited state

Alt state is used to calculate the selection exclusion in inherited state.

Right table is in Alt2 state

I would appreciate if somebody has a better idea to do it in a simple way.

----------------------------------------------------------------------------------------------------------------------------

Hola a todos, Por favor, adjunte el documento adjunto. He creado una hoja de copia para implementar los cambios. He creado dos estados alternos Alt y Alt2. Y los desencadenadores de eventos de campo utilizados y las selecciones transferidas utilizando la condición de análisis de conjunto exlude. La tabla izquierda está en estado heredado El estado Alt se utiliza para calcular la exclusión de selección en estado heredado. La tabla derecha está en estado Alt2 Apreciaría si alguien tiene una idea mejor para hacerlo de una manera simple.


View solution in original post

14 Replies
marcelvinicius
Creator III
Creator III

Bom dia Cristiane, como vai?

Não entendi sua pergunta, você quer que venha o gráfico sem precisar selecionar o KM?

Tira essa opção:

GetSelectedCount


iF(km > 0,

Min(ALL if(Km_Ini_Real >= vKmInicialSelecionado and Km_Fin_Real <= vKmFinalSelecionado, Area_Restricao_Total))

, min(Area_Restricao_Total))



sunny_talwar

May be this

If(GetSelectedCount (km) > 0,

Min({1} If (Km_Ini_Real> = vKmInitialSelected and Km_Fin_Real <= vKmFinalSelected, Area_Restriction_Total)),

Min(Area_Restriction_Total))

suryaa30
Creator II
Creator II

Suponga que si en el campo KM tiene A, B, C, D y usted selecciona B por ejemplo, ¿cuándo debe la tabla mostrar valores para A, C, D?



Puede utilizar el estado alternativo para la tabla ... transferir la selección de un estado a otro excluyendo la selección actual. Si este enfoque está bien, entonces puedo ayudarle con la expresión

cristianevpm
Contributor III
Contributor III
Author

Olá Surya

Isso mesmo que preciso.

Eso mismo que necesito.

suryaa30
Creator II
Creator II

puede por favor cargar un documento de ejemplo .. será fácil crear estados alternativos y compartir

cristianevpm
Contributor III
Contributor III
Author

@suryaa30

CapturaKM.JPG

vinieme12
Champion III
Champion III

try just the below expression with KM dimension

= min({<km=e(km)>} Area_Restricao_Total)

not sure what your calculation condition is

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
suryaa30
Creator II
Creator II

Hi All,

Please find attached doc. I have created a copy sheet to implement the changes.

I have created two alternate states Alt and Alt2. And used field event triggers and transferred selections using exlude set analysis condition.

Left table is in Inherited state

Alt state is used to calculate the selection exclusion in inherited state.

Right table is in Alt2 state

I would appreciate if somebody has a better idea to do it in a simple way.

----------------------------------------------------------------------------------------------------------------------------

Hola a todos, Por favor, adjunte el documento adjunto. He creado una hoja de copia para implementar los cambios. He creado dos estados alternos Alt y Alt2. Y los desencadenadores de eventos de campo utilizados y las selecciones transferidas utilizando la condición de análisis de conjunto exlude. La tabla izquierda está en estado heredado El estado Alt se utiliza para calcular la exclusión de selección en estado heredado. La tabla derecha está en estado Alt2 Apreciaría si alguien tiene una idea mejor para hacerlo de una manera simple.


cristianevpm
Contributor III
Contributor III
Author

Hi Surya.

Eu não achei o documento.

I did not find the attachment