Forum Discussion
coliveira03_
3 years agoFrequent Visitor
Total using ALL in a DAX
Hi there, In my data set, I have many folders and in each folder, many products inside e.g.: I need to user a slicer using product type description field, and when doing so automatically...
- 3 years ago
Hi coliveira03_
Please try
Sales Total =
SUMX (
DISTINCT ( Folder[FolderNumber] ),
CALCULATE ( SUM ( Folder[SellAmount] ), ALL ( Folder[ProductTypeDescription] ) )
)
tamerj1
Community Champion
3 years agoHi coliveira03_
Please try
Sales Total =
SUMX (
DISTINCT ( Folder[FolderNumber] ),
CALCULATE ( SUM ( Folder[SellAmount] ), ALL ( Folder[ProductTypeDescription] ) )
)
coliveira03_
3 years agoFrequent Visitor
Thank you very much! it worked perfectly
I have done the same sintax before, but in a different order and it made all difference.
I have no idea why, but i am glad it worked.
Thank you