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 ...
austinsense
Impactful Individual
10 years agoYep, calculated column
vickyprudhvi
Helper IV
10 years agodo 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
- vickyprudhvi10 years ago
Helper IV
austinsense btw I am using Tabular model 2012 and not 2016 so VAR anc Return function is not available