Forum Discussion
sclencioco
Helper I
9 years agomultiplying columns
Hello, Need help here. I am trying to multiply two columns (encircled with BLUE and RED) . Unfortunately, the result shows that it used the total value on the cloumn encircled with BLUE. ...
- 9 years ago
Hi sclencioco,
I have tested it on my local environment by using the sample data below.
CountMonthday = CALCULATE(COUNTA(Sheet6[Date]),ALLEXCEPT(Sheet6,Sheet6[MonthName]))
DistinctCountMonthday = CALCULATE(DISTINCTCOUNT(Sheet6[Type]),ALLEXCEPT(Sheet6,Sheet6[MonthName]))
Measure = Sheet6[CountMonthday]*Sheet6[DistinctCountMonthday]Regards,
Charlie Liao
v-caliao-msft
Microsoft Employee
9 years agoHi sclencioco,
I have tested it on my local environment by using the sample data below.
CountMonthday = CALCULATE(COUNTA(Sheet6[Date]),ALLEXCEPT(Sheet6,Sheet6[MonthName]))
DistinctCountMonthday = CALCULATE(DISTINCTCOUNT(Sheet6[Type]),ALLEXCEPT(Sheet6,Sheet6[MonthName]))
Measure = Sheet6[CountMonthday]*Sheet6[DistinctCountMonthday]
Regards,
Charlie Liao