- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
removing multiple rows with same data
HI all,
I want to delete all the rows which has ".." value in column name "Street_No". Can somebody help me to acheive this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can remove it in the Power Query using an additional step
let
Source = ...,
#"Removed Rows" = Table.SelectRows(Source, each [Street_No] <> ".."))
in
#"Removed Rows"
If this doesnt work for you, you have to remove the columns from the source itself.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the solutions KhaledAbdrhman ,ann_2024,dufoq3 and jennratten offered, and i want to offer some more infotmation for user to refer to.
hello @Vidushi_Mangal , based on your description, you can create a blank query, and input the following code in advanced editor.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjQy1gMCpVgdMBtMm5iagenEpGQ9iGQsAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Street_No = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Street_No", type text}}),
Custom1 = Table.TransformColumns(#"Changed Type",{"Street_No",each if Text.Contains(_,"..") then null else _}),
#"Removed Blank Rows" = Table.SelectRows(Custom1, each not List.IsEmpty(List.RemoveMatchingItems(Record.FieldValues(_), {"", null})))
in
#"Removed Blank Rows"
And you can refer to the attachment.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the solutions KhaledAbdrhman ,ann_2024,dufoq3 and jennratten offered, and i want to offer some more infotmation for user to refer to.
hello @Vidushi_Mangal , based on your description, you can create a blank query, and input the following code in advanced editor.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjQy1gMCpVgdMBtMm5iagenEpGQ9iGQsAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Street_No = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Street_No", type text}}),
Custom1 = Table.TransformColumns(#"Changed Type",{"Street_No",each if Text.Contains(_,"..") then null else _}),
#"Removed Blank Rows" = Table.SelectRows(Custom1, each not List.IsEmpty(List.RemoveMatchingItems(Record.FieldValues(_), {"", null})))
in
#"Removed Blank Rows"
And you can refer to the attachment.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Select your column in power query and try to sort it so that the rows that contain the specific word you want is above each other, then select delete rows and delete them now it should be easier, hope this helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can remove it in the Power Query using an additional step
let
Source = ...,
#"Removed Rows" = Table.SelectRows(Source, each [Street_No] <> ".."))
in
#"Removed Rows"
If this doesnt work for you, you have to remove the columns from the source itself.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, select the column named "Streen_No", choose the filter button on the header. Follow the prompts to select rows which do not contain "..".
If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.
Proud to be a Microsoft Fabric Super User
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanx for response
But this will only filter the table and will not remove the rows. I want to delete them permanently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
03-03-2024 02:45 AM | |||
10-19-2023 02:57 AM | |||
08-05-2024 12:28 PM | |||
06-24-2024 05:32 AM | |||
12-06-2023 06:38 PM |
User | Count |
---|---|
29 | |
26 | |
23 | |
13 | |
10 |
User | Count |
---|---|
24 | |
21 | |
17 | |
11 | |
9 |