[英]Clean Data in Power BI
Transform
drop down Unpivot Columns
and click on Unpipot Other Columns
Transform
下拉Unpivot Columns
并单击Unpipot Other Columns
This converts your wide pivot table into a long, stacked format that is ideal for further processing.这会将您的宽 pivot 表格转换为长的堆叠格式,非常适合进一步处理。
Another way you can achieve this is您可以实现此目的的另一种方法是
If you need to split the date column into month and year 4. on the transform tab, under the text column section, click on Split Column , select "by delimiter" on the dialog box, select split at the left-most delimiter and click ok.如果您需要将日期列拆分为月份和年份 4. 在转换选项卡上,在文本列部分下,单击拆分列,对话框中的 select“按分隔符”,select 在最左侧的分隔符处拆分并单击好的。
You will have your month and year columns as shown below您将拥有月份和年份列,如下所示
if your value column holds figure for amount/money you can transform the data type and replace the null values with zero using the replace values function when you right-click on the values column.如果您的值列包含金额/货币的数字,您可以转换数据类型并在右键单击值列时使用替换值 function 将 null 值替换为零。
I hope this helps我希望这有帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.