Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 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.
I have this, but not getting the results I want:
= Table.SelectRows(Issues_table, each ([StartDate] <> null and [DueDate] <> null))
What I need is
1) if StartDate is null, but DueDate is not null, I want these records
2) if DueDate is null, but StartDate is not null, I want these records
3) if StartDate is not null and DueDate is not null, I want these records
Solved! Go to Solution.
@EaglesTony
Try this please:
Table.SelectRows(Issues_table, each ([StartDate] <> null or [DueDate] <> null))
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@EaglesTony
Not clear about your question, if you are looking for DAX Filter function, here you go: FILTER – DAX Guide
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thanks, but I'd rather do it in PowerQuery, since I want to filter my data first.
Here is an example of Data
Key StartDate DueDate
123 1/1/2025 null
456 null 2/1/2025
789 null null
000 1/2/2025 1/15/2025
In this case I only want "123", "456" and "000"
@EaglesTony
Try this please:
Table.SelectRows(Issues_table, each ([StartDate] <> null or [DueDate] <> null))
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Work perfectly!..thanks
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
78 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
84 | |
48 | |
48 | |
48 |