如何根据某些列的零值删除整个行 - 电源BI查询
我在带有+20列和+10000行的Power BI查询中有一个未分明的表。 第一列与KPI名称,月份和其他感兴趣的数据有关。后面的列是包含我要显示的实际值的列。
有些行具有KPI描述(名称,月份等),但在其余列中没有任何值(“ null”)。
有没有办法去除这些行?每当其余列的所有值为“ null”时,请删除。 (第一列永远不会为空)
谢谢! 我仍然是这个动力世界的初学者:)
I have an unpivoted table in the Power BI Query with +20 columns and +10000 rows.
The first columns are related to KPI name, month, and other data of interest. The columns after are the columns that contain the actual values I want to display.
Some rows have the KPI description (name, month, etc.) but do NOT any values in the rest of the columns ("NULL").
Is there a way to remove these rows? Remove whenever all the values of the rest of the columns are "NULL". (First columns will never be empty)
Thank you!!
I'm still a beginner in this Power BI world :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果其他列始终为无效,则只需选择其中一个列,然后使用列上的箭头从[] null上删除tick标记,
如果您必须检查除某些列以外的每个列是否具有nulls,则然后,您可以执行此操作,其中计算每一行上的null数量。然后使用新列的下拉下拉列过滤该列以正确数量的null,
同样您可以计算排除第一个X列的空列数(此处是前2列),然后过滤该列
If the other columns are always nulls together, then just pick one of those columns and use the arrow atop the column to remove the tick mark from [ ] null and filter it out
If you have to check that every column except certain columns have nulls, then you could do this, which counts the number of nulls on each row. Then filter that column for proper number of nulls using the drop down atop that new column
Similarly you could count the number of null columns excluding the first X columns (here the first 2 columns) then filter that column