Forum Discussion
nj-matt
Helper I
3 years agoHelp with ALLSELECTED by specific column summarized
I think there is a solve somewhere I am not thinking, but here is what I am trying to accomplish using the ALLSELECTED dax to summarize total sales --> Customer Product Sales Total Sales ...
- 3 years ago
Hi nj-matt ,
Try this:
Measuree = CALCULATE ( SUM ( CustomerProductSales[Sales] ), FILTER ( ALLSELECTED ( CustomerProductSales ), CustomerProductSales[Product] = SELECTEDVALUE ( CustomerProductSales[Product] ) ) )It helped? Mark it as an accepted solution.
Regards,
Loran
MohammadLoran25
Solution Sage
3 years agoHi nj-matt ,
Try this:
Measuree =
CALCULATE (
SUM ( CustomerProductSales[Sales] ),
FILTER (
ALLSELECTED ( CustomerProductSales ),
CustomerProductSales[Product] = SELECTEDVALUE ( CustomerProductSales[Product] )
)
)
It helped? Mark it as an accepted solution.
Regards,
Loran
nj-matt
Helper I
3 years agoSuccess! Thanks so much, I knew it had to be something simple