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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
arkiboys2
Helper IV
Helper IV

dataflow filter

in dataflow gen2 how is it possible to do this filter on a dataset?

lower(trim(column2)) == lower(trim(column7))

 

this means I only want to ingest if column2 value is as same as column7

 

thank you

1 ACCEPTED SOLUTION
frithjof_v
Super User
Super User

You need to manually edit the M code.

 

Advanced Editor is useful for this.

View solution in original post

3 REPLIES 3
frithjof_v
Super User
Super User

Similar to this code (you can paste this code into a blank query):

 

 

let
  Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WysgvKk5VAAElHSUQ5eFfFOyqFKsTrZScWAKTADKLwWIu+elQdS7+7goQaZC4s2MIUBxEgnge/kFAM8DqwMxiJJVpOfnlqUVASTcf//DUIphMLAA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [column2 = _t, column7 = _t]),
  #"Trimmed text" = Table.TransformColumns(Source, {{"column2", each Text.Trim(_), type nullable text}}),
  #"Trimmed text 1" = Table.TransformColumns(#"Trimmed text", {{"column7", each Text.Trim(_), type nullable text}}),
  #"Lowercased text" = Table.TransformColumns(#"Trimmed text 1", {{"column7", each Text.Lower(_), type nullable text}}),
  #"Lowercased text 1" = Table.TransformColumns(#"Lowercased text", {{"column2", each Text.Lower(_), type nullable text}}),
  #"Filtered rows" = Table.SelectRows(#"Lowercased text 1", each [column2] = [column7])
in
  #"Filtered rows"

 

 

frithjof_v
Super User
Super User

You need to manually edit the M code.

 

Advanced Editor is useful for this.

many thanks

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 FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric 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.