Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Filter Power Query Editor

Hi everyone,

 

I have data from Jira connected with Power BI. Since there were many null values, I wanted to filter those in the Editor. But after applying the filter, I stille see those null values. So, why doesn't it work? Is it because of the real time connection, so that values keep being loaded?

 

Editor filter.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

It was solved when I filtered twice all the null and blank values or when I filtered once and then sort rows ascending or descending... 

So, I think this is just a bug for this particular data file. 

 

filtered rows.pngsorted rows.png

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

Hi @Anonymous ,

 

Ok, thanks for your feedback!😀

Could you please Accept a helpful one as the solution to help the other members find it more quickly.More people will benefit from it.

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @Anonymous ,

 

  • If the Time column is DateTime type, (notice the type icon):

Eyelyn9_1-1636079133152.png

  • If the Time column is Text type:

Eyelyn9_2-1636079184526.png

  • If Time column is Any type:

Eyelyn9_3-1636079431830.png

 

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @Anonymous ,

 

It was solved when I filtered twice all the null and blank values or when I filtered once and then sort rows ascending or descending... 

So, I think this is just a bug for this particular data file. 

 

filtered rows.pngsorted rows.png

AlexisOlson
Super User
Super User

Maybe it's interpreting your null as text "null"? If you share the code generated for that step, we should be able to tell if this is the case.

 

Try unchecking (null) from the corner dropdown of the column.

AlexisOlson_0-1635867184432.png

Anonymous
Not applicable

Hi @AlexisOlson ,

 

I think that's the case, though the data type is Date/Time. I duplicated the column and changed it to the data type Date. That did worked. I also discovered there were more columns with null values, and in those columns, the type was indeed Text. So, by changing the data type, it was resolved. Although, it isn't intuitive... Especially with the example I showed you, since that wasn't Text in the first place, but already a Date/Time type. 

 

The code generated for that step is as follows:

= Source{[Name="SLA Cycles",Signature="table"]}[Data]

The code for filtering rows looks like this:

Table.SelectRows(#"Changed Type", each ([SLA] <> null))

If it were interpreting null as text, it would look like this:

Table.SelectRows(#"Changed Type", each ([SLA] <> "null"))

 The key is to make sure it looks like the first one.

Anonymous
Not applicable

Ah okay, the code is as follows:

 

= Table.SelectRows(#"Reordered Columns", each ([SLA Cycle Breach Time] <> null))

 

So, the first one, hence it doesn't see it as text, and the filter isn't working. 

Hmm. I don't know what the issue is then unless it's just a cached view you are seeing. If you click Refresh Preview and the filter still doesn't work, then I don't know what's going on.

Anonymous
Not applicable

Thanks for the tip and your help @AlexisOlson . It didn't work unfortunately. So at this moment, the solution for me is just duplicate the column and change data type from Date/Time to Date.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.