Power Query: how to add one to a column when a specific values appear in an other column
问题 I have an ID column and I am looking for ways to increment my IDs each time a specific item appears in my Geography column ( ItalyZ , ItalyM , UKY or UKM ) is found. The ID of ItalyZ starts at 0 and ends at 4000. The ID of ItalyB starts at 4000 and ends at 8000. The ID of UKY starts at 0 and ends at 4000. The ID of UKM starts at 4000 and ends at 8000. However, I am refreshing my file, and I will thus have from time to time new arrivals of "geographies" without the origins or first IDs. These