Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
MichaelF1
Helper III
Helper III

Power query - Replacing text field with dummy index

Hi everyone

 

I need to redact an address line so I can send a data set to an external business partner.

 

How can I add a new column to give some sort of dummy index?

 

This is what I need:

existing columnnew colummn
1 some street address1
flat 3a2
unit f3
1 some street address1
2 some street address4

 

Thank you

1 ACCEPTED SOLUTION
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

You can do this faily easily using the group by and index buttons on the ribbons.

 

1.  selct group by on the transform ribbon, select your address column and have the operation preform 'All Rows'

 

DOLEARY85_0-1689926990604.png

 

2. Select index column from the Add Column ribbon.

 

3. Expand the column that you created using the Group By function

 

DOLEARY85_1-1689927097461.png

 

4. you should have something that looks like the below image, then just delete any unneeded columns.

 

DOLEARY85_2-1689927163680.png

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

 

View solution in original post

2 REPLIES 2
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

You can do this faily easily using the group by and index buttons on the ribbons.

 

1.  selct group by on the transform ribbon, select your address column and have the operation preform 'All Rows'

 

DOLEARY85_0-1689926990604.png

 

2. Select index column from the Add Column ribbon.

 

3. Expand the column that you created using the Group By function

 

DOLEARY85_1-1689927097461.png

 

4. you should have something that looks like the below image, then just delete any unneeded columns.

 

DOLEARY85_2-1689927163680.png

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

 
amitchandak
Super User
Super User

@MichaelF1 , what is the logic behind a repeat of index  1

 

You have Index and Sub index option

Power Query- Index Column: https://youtu.be/NS4esnCDqVw

 

Power BI and Power Query- Sub Category Rank and Index: https://youtu.be/tMBviW4-s4A

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.