The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Solved! Go to Solution.
You need to manually edit the M code.
Advanced Editor is useful for this.
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"
You need to manually edit the M code.
Advanced Editor is useful for this.
many thanks
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
1 |
User | Count |
---|---|
16 | |
15 | |
11 | |
6 | |
6 |