Forum Discussion
JollyRoger01
5 years agoHelper III
How to increment a number variable if column value equals something
I have what I thought was a simple request in Power Query. I want to increase a number variable called 'index' whenever it comes across a blank value in a column. I also want to then add this index v...
AlB
5 years agoCommunity Champion
Hi JollyRoger01
Do yo want to share some sample input data plus what the expected output would look like? At least the first table in text-tabular format so that the contents can be easily copied
|
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
JollyRoger01
5 years agoHelper III
Current:
Desired:
Note, I am not just trying to increment the index where there is a null or blank value, there could be a variety of other values I want to do this to. I am aware there may be ways to do this with grouping etc. but I want to know how to increment indexes this way as there are other unrelated problems I need to apply this to.