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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MarkusEng1998
Resolver II
Resolver II

Sheet List with incrementing number and letter

I need to create a list of Architectural Sheet names based on a variable in an Excel form.

I map this variable to the field [Value]

 

I am able to create the desired number of rows (one for each sheet) using a custom column list, and expanding the list to rows.

     = Table.AddColumn(#"Renamed Columns", "SheetCount", each {1..[Value]})

    

From this I am able to create a sheet list, e.g.

So far so good.

   Isolated Plan Views - 1

   Isolated Plan Views - 2

   Isolated Plan Views - 3

   Isolated Plan Views - 4

 

But I would also like it to increment by letter too. The new sheet name would be:

   Isolated Plan Views A - 1

   Isolated Plan Views B - 2

   Isolated Plan Views C - 3

   Isolated Plan Views D - 4

 

I created a second custom column list:    

     = Table.AddColumn(#"Renamed Columns", "SheetCount", each {"A.."D"})

but this created 16 rows, not the desired 4. Furthermore, since [Value] may vary, the above custom column assumes a static number of characters.

 

Please advise.

Thanks!

List.JPG

1 ACCEPTED SOLUTION
MarkusEng1998
Resolver II
Resolver II

I figured it out.

 

I created another column using the ASCII value for the letter.

= Table.AddColumn(#"Added Conditional Column", "ASCII", each Character.FromNumber([SheetCount] + 64))

 

 

 

View solution in original post

1 REPLY 1
MarkusEng1998
Resolver II
Resolver II

I figured it out.

 

I created another column using the ASCII value for the letter.

= Table.AddColumn(#"Added Conditional Column", "ASCII", each Character.FromNumber([SheetCount] + 64))

 

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors