This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I am trying to filter rows of data based on 2 conditions, if store = X and date is X. Then if the 2 conditions are met, I need the row removed. How should this be coded in query editor? I'm struggling! Thanks.
Solved! Go to Solution.
In Power Query, create a custom column:
if [Store] = "A" and [Date] = #date(2021, 1, 3) then 1 else 0
Then filter the custom column to exclude 1:
Proud to be a Super User!
In Power Query, create a custom column:
if [Store] = "A" and [Date] = #date(2021, 1, 3) then 1 else 0
Then filter the custom column to exclude 1:
Proud to be a Super User!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 20 | |
| 19 |