Forum Discussion
Anonymous
5 years agoNot applicable
Calcul avec 2 tables
Bonjour à tous
Je ne sais pas comment solutionner mon besoin ci dessous
J'ai une table Dim Date et 2 tables
Table 1
| struct | nom | fonct |
| A | Nom1 | F1 |
| A | Nom2 | F1 |
| A | Nom3 | F2 |
| B | Nom4 | F2 |
| B | Nom5 | F2 |
Table 2
| fonct | annee | valeur |
| F1 | 2019 | 8 |
| F2 | 2019 | 5 |
| F1 | 2020 | 10 |
| F2 | 2020 | 15 |
J'ai un slicer pour choisir l'année : si je selectionne 2020
je voudrais afficher la table
| struct | total |
| A | 35 (= 2(F1) * 10 + 1(F2) * 15) |
| B | 30 (= 2(F2) * 15) |
Si je change l'annee, les totaux doivent changer
Merci pour votre aide
Anonymous , Please find the attached file after signature, see if this can help
2 Replies
- amitchandak
Super User
Anonymous , Please find the attached file after signature, see if this can help
- AnonymousNot applicable
Merci beaucoup pour votre solution