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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
craghubi2020
Frequent Visitor

Help with Conditional or Custom Column

Hi,

Can anyone help me with this. I wanted to create a "Conditional/Custom column" values from another by searching values from other column. Example is below. Column "First Characters" value 515 is present somewhere in "Batch Number" column. I want to search 515 in 'Batch Number' and where ever it present, I want to show corresponding "Batch Name" (PB30) in Custom/Conditional column. 

 

craghubi2020_0-1678697036873.pngcraghubi2020_1-1678697250693.png

 

Thanks

Raghu

4 REPLIES 4
craghubi2020
Frequent Visitor

@Greg_Deckler Thanks for your response. The 'First Characters' field is having other values as well like in below screenshot. Our requirement is to search these values in 'Batch number' filed and pick-up and then if it contains, the corresponding ''Batch Name' should display in Custom column.

craghubi2020_0-1678702294249.png

 

@craghubi2020 So are there 2 different tables (queries) involved here? Hard to tell from your image(s)



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler , There is only 1 table. the columns are from same tables.

Greg_Deckler
Community Champion
Community Champion

@craghubi2020 Use Text.Contains: Text.Contains - PowerQuery M | Microsoft Learn



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.