Forum Discussion
Jean-Mi64
2 years agoHelper I
relation entre tables
Bonjour J’ai créé une relation entre une table 1 et une table 2 Elle est faite sur le champ « PROCEDE » Sur les 2 tables, j’ai également le champ « OPERATION » en commun. Mais quand je filtre sur...
- Anonymous2 years ago
Hi Jean-Mi64 ,
We can create a measure.
Temps de procédé from table 2 = CALCULATE ( SUM ( 'table 2'[Temps de procédé] ), FILTER ( ALLSELECTED ( 'table 2' ), 'table 2'[Opération] IN VALUES ( 'table 1'[Opération] ) && 'table 2'[Procédé] IN VALUES ( 'table 1'[Procédé] ) ) )Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Jean-Mi64
2 years agoHelper I
Merci pour ce retour
Voici d’où proviennent les données
Voici un exemple de rapport :
https://drive.google.com/file/d/1Sn8FKphcGqkOrYSZFKAduc3w1NKqMPbN/view?usp=sharing
Anonymous
2 years agoNot applicable
Hi Jean-Mi64 ,
We can create a measure.
Temps de procédé from table 2 =
CALCULATE (
SUM ( 'table 2'[Temps de procédé] ),
FILTER (
ALLSELECTED ( 'table 2' ),
'table 2'[Opération]
IN VALUES ( 'table 1'[Opération] )
&& 'table 2'[Procédé] IN VALUES ( 'table 1'[Procédé] )
)
)
Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Jean-Mi642 years agoHelper I
C’est ok
Merci beaucoup