Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I've noticed that due to a bug in my data, one of the products has a value displayed wrong. I would like to remove the rows where these values are.
The callenge I have is, I can't simply apply a filter to Values column as there are multiple products. I want to remove the rows where the column Values are lower than a value and the column Products are equal to a specific product name.
What would be the best way to accomplish this in Power Query?
Solved! Go to Solution.
Hello @numersoz
you can use Table.SelectRows and adapt the filter section like this:
Table.SelectRows(PreviousStep, each [Product] = "Productname" and [ValueField] < 100)
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
Hello @numersoz
you can use Table.SelectRows and adapt the filter section like this:
Table.SelectRows(PreviousStep, each [Product] = "Productname" and [ValueField] < 100)
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
Hi @numersoz ,
You can create a custom column and refer to those columns, like:
if [Product] = "ABC" and [Value] < 100 then 1 else 0
if ([Product] = "ABC" or [Product] = "BCA") and [Value] < 100 then 1 else 0
After it, you can filter out the rows you don't need.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.