Forum Discussion
Anonymous
3 years agoNot applicable
CROSSFILTER without match
Hello, I'm using a simple cross filter on the tables below. However, not all my products are matching for the three tables (Some appear only in Z_BOMS, other only in Ventes, etc..). This returns an e...
DataInsights
Super User
3 years agoAnonymous,
Is your visual using the Produit field in the dimension table Produits? Visuals should use fields in dimension tables whenever possible.
- Anonymous3 years agoNot applicable
Hello, yes it's from the "Produits" table. Thank you
- DataInsights3 years ago
Super User
Anonymous,
You could try testing for blank before performing the calculation:
Qté_MP = IF ( NOT ISBLANK ( [Ventes] ) && NOT ISBLANK ( [Qté_Bom] ), CALCULATE ( [Ventes] * [Qté_Bom], CROSSFILTER ( Produits[Produit], 'Z_BOM_Explosé'[Produit], BOTH ) ) )- Anonymous3 years agoNot applicable
Hello, yes I already did but it wasn't working. Thank you