The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
ID | Value | Area | Concatanation | Desired Output |
A1 | 24 | AAA | A124 | 1 |
A1 | 24 | BBB | A124 | 2 |
A2 | 13 | AAA | A213 | 1 |
A2 | 13 | BBB | A213 | 2 |
Hi,
I've got a table laid out similar to the above. I would like to create a column that gives these values a rank based on a concatanation of the ID and Value.
For example. A124 would appear twice. but i would like the first instance to display as 1, the second as 2 and so on.
Does anyone know how I could acheive this with a DAX function?
I've managed tis in excel previously, but that was simple using the specific dynamic ranges based on cell address.
Solved! Go to Solution.
HI @jpmuk,
I think this should more suitable to achieve in the query editor, you can add an index column based on column groups:
Create Row Number for Each Group in Power BI using Power Query - RADACAD
Regards,
Xiaoxin Sheng
HI @jpmuk,
I think this should more suitable to achieve in the query editor, you can add an index column based on column groups:
Create Row Number for Each Group in Power BI using Power Query - RADACAD
Regards,
Xiaoxin Sheng