Forum Discussion
Moniek
Resolver I
4 years agoMissing numbers
Hi, Question.. In a table is column with numbers, I want to know which numbers are missing. Can anyone help me how to find the missing numbers. Thanks!
- Anonymous4 years ago
Hi Moniek ,
Sure. Just use the current row minus the previous row:
Increasing number = var _preRow= CALCULATE(MAX('Table'[Number]),FILTER(ALL('Table'),[Index]=MAX('Table'[Index])-1)) return MAX('Table'[Number])- _preRowBest Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. - 4 years ago
Yeeaaaaah have a nice day!!!!
amitchandak
Super User
4 years agoMoniek , Create a new table like
Except(generateseries(Min(Table[Number]), Max(Table[Number])), values(Table[Number]))
Moniek
Resolver I
4 years agoYeeaaaaah have a nice day!!!!