I have a table which is like:
| Identfier |
|---|
| Abc XY: a(123) |
| Abcd XY: a(123) |
| Abcde XY: b(123) |
| dfe XY: b(123) |
| dfeg XY: b(123) |
| dfegh XY: c(123) |
| ijk XY: c(123) |
I want to count columns that they end with the same value starting from a certain value I choose It doesn't matter how the columns start For example if I chose "XY" in our example ,I have an output like this:
| Identifier last part | number of repetition |
|---|---|
| XY: a(123) | 2 |
| XY: b(123) | 3 |
Thank you.
Try This...
In this example first, you need to calculate the end part of the column and then add a partition to it.