Forum Discussion
PaulPalkowski
1 year agoHelper II
Matrix Column Sum
I have a very simple table from excel Animal Food Tiger Fish Elephant Veggies Bear Fish Monkey Tiger Combo Elephant Fish Bear Monkey Veggies Tiger Be...
- 1 year ago
Try this measure:
DC-Animals = SUMX ( SUMMARIZE ( Sample2, Sample2[Animal], Sample2[Food] ), CALCULATE ( DISTINCTCOUNTNOBLANK ( Sample2[Animal] ) ) )
DataInsights
1 year agoSuper User
Try this measure:
DC-Animals =
SUMX (
SUMMARIZE ( Sample2, Sample2[Animal], Sample2[Food] ),
CALCULATE ( DISTINCTCOUNTNOBLANK ( Sample2[Animal] ) )
)
PaulPalkowski
1 year agoHelper II
Perfect!!