Forum Discussion
vickyprudhvi
Helper IV
10 years agoDax Calculated Column for Repeat Count
Hi, ID Amt CalculatedColumn 1 1000 3 1 2000 3 1 3000 3 2 ...
vickyprudhvi
Helper IV
10 years agoIs that a calculated column or where is that dax returned
austinsense
Impactful Individual
10 years agoYep, calculated column
- vickyprudhvi10 years ago
Helper IV
do u mean this
CALCULATE(COUNTROWS(Table),Table[Id]=EARLIER(Table'[Id]))
I am not sure how to write VAR or return function in Tabular Model DAX
- austinsense10 years ago
Impactful Individual
Either way, those two formulas produce the exact same result.- vickyprudhvi10 years ago
Helper IV
Its not working with my formular it repeating total count of table instead of repeating total count for each ID