Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Dear community,
how can delete rows based on conditions? I need something like this: if the costs are smaller then 3800 and if the frequency is bigger 1 and the Mdt ist unequal 30 then delete the rows. How can I do this?
Unfortunately, I can't add a table to this post bacause I get the message "marked as spam". I tried different thing but it doesn't work.
Many thanks for your help!
Solved! Go to Solution.
Hi @Learner86
You can create a custom column in trasform data tab with below code:-
if [costs] < 3800 and [Frequency] > 1 and [mdt] <> 30 then 1 else 0
Now filter your custom column of table by selecting "0"
and then click on "close and apply"
You will see your desired result.
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Great! @Learner86 it helps you. Kindly accept my answer as solution so that people can find it more quickly.
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
My problem addresses the following table:
I want to delete the rows 1,3 and 5.
@Learner86
You can apply filters in Power Query to get the desired results.
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
9 |