DAX
Share
Explore
Sans relation dans le modèle

icon picker
CROSSJOIN

Retourne une table contenant le produit cartésien de toutes les lignes de toutes les tables figurant dans les arguments
Les noms de colonnes des arguments table doivent tous être différents dans toutes les tables, sans quoi une erreur est retournée

Avec FILTER

Exemple “Promotion”
CALCULATE (
[Sales Amount],
FILTER (
CROSSJOIN (
ALL ( 'Product'[Category] ),
ALL ( 'Date'[Calendar Year Number] )
)
CONTAINS (
Promotion,
Promotion[Category], 'Product'[Category],
Promotion[Year], ‘Date’[Calendar Year Number]
)
)
)

Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.