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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

PowerQuery case sensitive workaround

Hi, 

 

I'm trying to use a workaround for PowerQuery being case insensitive but had a bit of trouble implementing it. The workaround adds an invisible character next to each lowercase character. https://blog.crossjoin.co.uk/2019/10/06/power-bi-and-case-sensitivity/

 

In the example, a new table is made from the source data. I would like to just add a new column to my current table that copies my Street Order ID and adds in the invisible characters. Here's the code I have so far:

 

ToList = Table.AddColumn(Source,
"CaseSensitiveStreetID",
each Text.ToList([Street Order ID])
),
LowerCaseChars = {"a".."z"},
AddInvisibleChars =
Table.AddColumn(
ToList,
"AddInvisibleChars",
each
List.Transform(
[CaseSensitiveStreetID],
each
if
List.Contains(LowerCaseChars, _)
then
_ & Character.FromNumber(8203)
else _
)
),
RecombineList =
Table.AddColumn(
AddInvisibleChars,
"OutputText",
each
Text.Combine([AddInvisibleChars]),
type text
),

RemovedOtherColumns =
Table.SelectColumns(
RecombineList,
{"OutputText"}
),

 

However, this does not add a new column 'OutputText' to my table. What am I missing?

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi Xue Ding,

 

I found a workaround by concattening two ID numbers which gave me another UID. 

 

Thanks

View solution in original post

3 REPLIES 3
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

I test the code. They work fine in my sample. Can you please share some screenshots? Then we will understand clearly about your problem.

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Xue Ding,

 

I found a workaround by concattening two ID numbers which gave me another UID. 

 

Thanks

Hi @Anonymous ,

Glad that you have resolved it. Please accept your answer as a solution. Then we will be able to close the thread. More people will benefit here.

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors