Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
kspanier
Frequent Visitor

Combining multiple quantity by year columns

I am newbie to PBI and have viewed multiple threads, vids and urls for my issue, but I cannot find a way to solve it. I'm sure it is pretty simple, but I have spent the last two days trying to resolve...please can anyone help? Thanks in advance.

 

I have multiple qty columns for 4 different years and need to combine them (into new rows for each I think), so that I can then divide by 12 to get the monthly quotas:

kspanier_1-1714251251343.png

I have tried merge, append, unpivot, and it doesn't seem to give me what I think I need.  I need one combined Qty column with all values together that I can then work with to use with the MonthNo column values. 

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

have you tried  select the first three columns and unpivot other columns?

 

if this does not work, pls provide some sample data(not the screenshot) and the expected output.

 

you can just paste the sample data in the reply





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
ryan_mayu
Super User
Super User

have you tried  select the first three columns and unpivot other columns?

 

if this does not work, pls provide some sample data(not the screenshot) and the expected output.

 

you can just paste the sample data in the reply





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thank you so much for the quick reply Ryan, appreciated.  I just tried that and it is what I needed to do - wow - many thanks! The answer was in front of me the whole time and I was just not seeing it. 😳 🙄

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.