Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello, I'm having difficulty when trying to unpivot columns. The desired output is to have no duplicates in the "RPO Produced" column. I have read several discussions, including one from here https://community.fabric.microsoft.com/t5/Desktop/Unpivot-multiple-columns-without-duplicates/m-p/66... However, I haven't found the solution I'm looking for. Here is the attached data structure and the current result (with duplicates). How can I prevent the "RPO Produced" column from producing duplicates and show the actual value from source?
let
Source = Excel.Workbook(File.Contents("C:\\DASHBOARD.xlsx"), null, true),
Cost_Sheet = Source{[Item="Cost",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(Cost_Sheet, [PromoteAllScalars=true]),
#"Unpivoted Columns" = Table.UnpivotOtherColumns(#"Promoted Headers", {"Period", "Period Duration", "Location Plant", "RPO Produced (MT)"}, "Attribute", "Value")
in
#"Unpivoted Columns"
result (RPO duplicated)
Hi,
Should should the number in the RPO producted column appear only for the depreciation cost row? Share data in a format that can be pasted in an MS Excel file and show the expected result.
User | Count |
---|---|
77 | |
74 | |
63 | |
61 | |
45 |
User | Count |
---|---|
108 | |
102 | |
93 | |
83 | |
64 |