Forum Discussion
relation entre tables
- 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.
Hi Jean-Mi64 ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a measure.
Flag = IF(MAX('table 2'[Opération]) in VALUES('table 1'[Opération]),1,0)
(3) Place [Flag=1] on the visual object filter and then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
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.
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
- Anonymous2 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