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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.