Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have the latest version of the Power Query addin installed in Excel13.
There is a large set of data, north of 100K rows.
The last step in the query is to filter where the value <> 0. Each time I run the query, I get a different row count. Eventually, I see the same row count, generally the highest number, and the data is accurate and ties...but I have to run it a few times before I can be confident it is the correct number of rows. The filter was set by picking the drop down and Does Not Equal 0. It was not done by unchecking zero from the picklist.
The overall query is complex with a number of appends. I tried troubleshooting by removing steps and running the query multiple times until I saw that I was getting different row counts. Every time, the issue came up at the step where the filter was set.
It's hard to trust the data and I have not found a solution on any of the forums. Also, I am unable to share the data.
Any help is appreciated. Thanks!
Hi guavaq,
Thakgs for the response. I implemented your recommendation for the Advanced filter, ensuring the type is set to decimal in a prior step. I did this for all queries in the workbook. Unfortunately, I am seeing the same thing. RE: the DB question, the DB is static.
I went through a process of creating a copy of the query, removing steps and writing to a table. I then ran the query multiple times to see if I would get a different number of row counts. If the same row count was achieved each run, then I deleted the query, made a new copy, and added in one more step from the original query, then re-ran multiple times. The point of all of that was to isolate where in the query the different row counts was occurring. It isn't happening until the last step, which happens to be the filter for non zeros.
Any other ideas? Almost seems like it is some sort of issue/bug with PQ. When I used the Advanced filter, is there any way within the code to see if the filter was set using the Advanced filter option? I didn't see anything different.
Thanks,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 36 | |
| 32 | |
| 31 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |