Forum Discussion
Anonymous
4 years agoNot applicable
how to calculate return
Hi, all I wonder why this is error 1EA = CALCULATE(count('Table'[itemlv2_lastlinkconsumerid]), 'Table'[dvc_total] = 1) I want to show the number of devices by Device Type (=n_combination) in...
- Anonymous4 years ago
Hi Anonymous ,
Here are the steps you can follow:
1. Create calculated column.
total = var _table=SUMMARIZE('Table','Table'[Id],'Table'[Dvcgroup],'Table'[n_combination],'Table'[cnt]) return SUMX(FILTER( _table,[Id]=EARLIER([Id])&&[n_combination]=EARLIER([n_combination])),[cnt])2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Anonymous
4 years agoNot applicable
Hi Anonymous ,
Here are the steps you can follow:
1. Create calculated column.
total =
var _table=SUMMARIZE('Table','Table'[Id],'Table'[Dvcgroup],'Table'[n_combination],'Table'[cnt])
return
SUMX(FILTER( _table,[Id]=EARLIER([Id])&&[n_combination]=EARLIER([n_combination])),[cnt])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly