Auto numbering assets...

Hi, 

I am looking for a solution for my problem if possible?

What I am trying to achieve is auto numbering an asset in my lists. An example of the data is below.

I want to count the asset type and when I add another record it automatically assigns the next number as in the example below?

Any help will be greatly appreciated.

 

Asset TypeAsset Name
CalorifierCAL 1
WHBWHB 1
WCWC 1
SINKSINK 1
SINKSINK 2
CalorifierCAL 2
SINKSINK 3
WHBWHB 2
CalorifierCAL 3
0 3 91
3 REPLIES 3

Welcome to the community!

You just have to count how many entries of the same type is already in the table and increment this count. For example:

COUNT(
  FILTER(tableName, [Asset Type] = [_ThisRow].[Asset Type])
  - LIST([_ThisRow])
) + 1

Hi Joseph,

Thanks for your suggested resolution.

The formula is giving me the same number for each asset as I add more
rather than each asset being consecutively numbered.

Kind Regards,

James Gaunt

Steve
Platinum 4
Platinum 4
Top Labels in this Space