Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I have a problem in my query where I have this titles that are the same, but the difference is that one says Spanish at the end, and the other one says English.
Their ID is also different, so the only thing that is equal is everything in the title before the language specification. I need to eliminate one of them, and only stay with one eLearning per employee.
Please help!
Solved! Go to Solution.
Hi @keylian031987 ,
My solution is to split English and Spanish, and then filter out English or Spanish to keep one.
Sample data:
1.Split Column By Delimiter
2.Filter the Column1.2
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @keylian031987 ,
My solution is to split English and Spanish, and then filter out English or Spanish to keep one.
Sample data:
1.Split Column By Delimiter
2.Filter the Column1.2
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Here is a solution
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSkxKVjAyMDLWNTJV0FUILkjMyyzOUIrViVZKSU1DknHNS8/BLoOsB9U0t6LUvGSIREVlFZKEc0ZmXmpxKhYtcGtiAQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Title = _t]),
#"Added Custom" = Table.AddColumn(Source, "Custom", each Text.BeforeDelimiter([Title], " - ")),
#"Removed Duplicates" = Table.SelectColumns(Table.Distinct(#"Added Custom", {"Custom"}), "Title")
in
#"Removed Duplicates"