Forum Discussion
MaxPail22
5 years agoFrequent Visitor
How repeat SUM for each ROW ?
Hi, I want to repeat the SUM for this product for each row in this context : . How can I do that ? I've tried to make a mesure like this : Mesure = CALCULATE([Qte facturées],'...
- Anonymous5 years ago
Hello MaxPail22
Can you check this out?
Mesure =
CALCULATE(
[Qte facturées],
ALL('Ligne de facture'),
'Produits lancés'[Code produit] = "501067" )
)
Anonymous
5 years agoNot applicable
Hello MaxPail22
Can you check this out?
Mesure =
CALCULATE(
[Qte facturées],
ALL('Ligne de facture'),
'Produits lancés'[Code produit] = "501067" )
)
MaxPail22
5 years agoFrequent Visitor
I think it's the good way, I've modified the formula like this :
Mesure =
var selected = SELECTEDVALUE('Produits lancés'[Code produit + libellé])
RETURN
CALCULATE(
[Qte facturées],
ALL('Ligne de facture'),
'Produits lancés'[Code produit + libellé] = selected)
But now it's repeat for all my fournisseur :