Forum Discussion
Create table from existing data set in power query excel
- 6 years ago
Hello 10500438
Select every column except the last one --> Tranform --> Group by
Set the group by like this
change the formula in the formula bar the part of the funciton like this
each List.Product([Unit Yield])
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
I feel like we are on the right track, but I cannot figure out how to implement this into my solution. I have only been using Power BI and Power Query for a short while. How can I upload my excel file for you to see what I am working with?
In the meantime here is my output from my query,
what I am trying to do is have the same output as below, but any Unique Key that has more than one line item, The Unit Yield column should be mulitplied times each other and have one single row that represents the result.
The data set is very large because of the mulitple times products move through a mill area, so to get a smaller set, I can multiply mill areas times each other to get the correct result per mill area. Thanks in advance for all your help.
Hello 10500438
Select every column except the last one --> Tranform --> Group by
Set the group by like this
change the formula in the formula bar the part of the funciton like this
each List.Product([Unit Yield])
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
- 105004386 years agoHelper II
All though I can get this to work on the numeric columns, grouping by sales order and sales item, I cannot get it to work when I group by all the columns shown, I am getting a DataFormat.error we couldn't convert to a number Details 1P01780000.
Any thoughts as to why? Maybe because the Column Mill Area is text characters?
I figured out I needed to change the type to numeric,, thank you!! It works great!!
Thank you for all your help so far!!