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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ak77
Post Patron
Post Patron

Table data in UPPER case

Hi Gurus,

 

need a help if anyone came across this case.please check.

 

i have a table with huge dataset and  columns called O_Asset Class, portfolio override coming from a sql table. i have a switch statment which has a logic 

All the cases are working fine, but in one case. the data is getting to UPPER case(TOTAL INFRASTRUCTURE . Does anyone have any idea why this UPPER case is happening? 

These 2 columns are from DB 

ak77_0-1700601865575.png

 

ak77_0-1700602058576.png

 

Below is the Switch statment result:

Switch Asset/Sub-Class Benchmark = SWITCH (
    TRUE,
 
 (NOT(CONTAINSSTRING(Client_Returns_Data[O_Asset/Sub-Class Benchmark],"Benchmark")) && (NOT(CONTAINSSTRING(Client_Returns_Data[O_Asset/Sub-Class Benchmark],"Excess"))) && LEN(Client_Returns_Data[Portfolio_Node_Name_Override])=0),Client_Returns_Data[O_Asset/Sub-Class Benchmark], (NOT(CONTAINSSTRING(Client_Returns_Data[O_Asset/Sub-Class Benchmark],"Benchmark")) && (NOT(CONTAINSSTRING(Client_Returns_Data[O_Asset/Sub-Class Benchmark],"Excess"))) && LEN(Client_Returns_Data[Portfolio_Node_Name_Override])>0),Client_Returns_Data[Portfolio_Node_Name_Override],
 Client_Returns_Data[O_Asset/Sub-Class Benchmark]
)

ak77_3-1700601701394.png

 

 

 

Sounds really wierd

 

6 REPLIES 6
parry2k
Super User
Super User

@ak77 sorry not sure what you are trying to achieve. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

ak77
Post Patron
Post Patron

@parry2k , Apologies for getting back bit late and yes there is one value with TOTAL INFRASTRUCTURE in upper case in the data set which was lately found during analysis. so is there a way to retain these cases for a particular column

parry2k
Super User
Super User

@ak77 this is so strange, can you check in PQ?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k .Thanks for reply..i had checked it.. verified again now.. there is no translation in PQ.. and in the table view u can see what exactly is coming from DB after power query execution and its normal case 

ak77_0-1700602450251.png

 

parry2k
Super User
Super User

@ak77 weird, can you double check if there are two values from DB, one with Upper case?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k , Yup checked. whole dataset does nt have this upper case in DB

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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