Getting PowerPivot case sensitive

Jan-Philipp

New Member
Joined
Mar 12, 2013
Messages
2
Hey everyone,

I have a file with a column containing the same word/words a couple of times. The only way to distinguish these two is upper case or lower case style (e.g, "professional" vs. "Professional").

When importing this file into Power Pivot, I only got the lower case ones. The upper case data gets lower case as well. So unfortunately, Power Pivot does not allow for distinguishing between upper and lower case data.

Does anybody has an idea how to get this fixed or how to get Power Pivot case-sensitive?

Thanks a lot in advance!

Best,
JP
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
JP

As far as I am aware your only chance is to deal with the issue as part of the import process by either creating another column to indicate what was in the source data or changing the source data to reflect the difference (eg Append the uppercase with a 'u' on the end).

If your data source is Excel then it's a piece of cake, tells you whether the contents of cell A1 are Uppercase:
Code:
=IF(EXACT(B2,UPPER(B2)),TRUE,FALSE)

If your data source is SQL then its less straightforward but is definitely possible. I pulled this code out of my SQL bag of tricks, its not rigorously tested but I think it will work.

Code:
CASE WHEN[COLOR=#191970][FONT=Verdana] thefield COLLATE Latin1_General_CS_AS=upper(thefield) THEN 'u' ELSE '' END[/FONT][/COLOR]

Jacob
 
Upvote 0

Forum statistics

Threads
1,223,941
Messages
6,175,537
Members
452,652
Latest member
eduedu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top