Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have a data set with columns: Income Statement Type, Product Type, "January 2017", "Feb 2017",.... "March 2019" . This lets me see Sales, COGS, and Op Ex by product for these time periods.
The data set is built in excel via OLAP connection to a cube. I then connect Powerbi to that excel file. When i import in the data, I have a column for every month's sales. This is hard for me to work with so I want to unpivot the data.
I select all the columns except for the Month&Year combination columns and then say "unpivot all others" when I do this I then get different values than what is accurate. For example in my excel sheet, total sales could be 1Million but after I unpivot the total is now 400k. I have no idea why this may be occuring but I am looking for input.
I unpivoted the data in excel and it works perfect so the error is on the PBI side. Unpivoting in excel is not an option going forward due to file size
@Anonymous
Have you tried to narrow your search and identify where the issue is? I would suggest you select a sample month and product and see if the unpivot reconcile to the excel spreadsheet.
Thanks
Nishant
hi, @Anonymous
Could you show some screenshots about it. and if you have test the total result is correct?
If you could share some sample data and your expected output for us to have a test,
You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.
Best Regards,
Lin
@Anonymous not sure why that would be the case, just to clarify, 1M sales is for all the months, correct?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 50 | |
| 33 | |
| 32 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 64 | |
| 64 | |
| 41 | |
| 27 | |
| 24 |