0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Excel Power Query で行数が勝手に倍増する

Posted at

Power Query内で勝手に行数が倍増する

タイトルの通りなのですが、なぜか勝手に倍増してしまいます。

Query のマージのせいではない

の結合方式をミスると行数が倍増してしまうのは周知の事実なのですが。。。
https://hamachan.info/excel2019-powerquery-kyotu/
https://modernexcel7.hatenablog.com/entry/merge_query_type

Filter を掛けると倍増する

今回のケースは、Query の Step 内で Filter を掛けると発生してしまいます。
元々 207 行だったものが↓↓
image.png

Filter を掛けて、null を取り除くと、386行に倍増 (null 行が取り除かれ、<>null 行がそのまま二倍に増えた)
image.png

今のところ理由がわかりません。参考になる投稿もない状況です。

ひとまずの解決策

Serial Number や ID から重複したデータを取り除くことで一旦はデータの整理は出来ますが、本来であれば不要なStep を挟むことになるのであまりスマートなやり方では無い気がします。
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?