Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have the following data model:
How can I transpose the dates in to columns for Total_Quantity and Total_Price? It should be like this:
Thank you in advance!
Solved! Go to Solution.
@Anonymous
See if this works for you (BTW, where did you get the image for the expected result? It comes from a Query, does it not?)
I'm not sure if there is a simpler way to do this, but I came up with a way which involves three different queries and a number of merges.
I've attached the PBIX file for you.
Proud to be a Super User!
Paul on Linkedin.
@Anonymous
See if this works for you (BTW, where did you get the image for the expected result? It comes from a Query, does it not?)
I'm not sure if there is a simpler way to do this, but I came up with a way which involves three different queries and a number of merges.
I've attached the PBIX file for you.
Proud to be a Super User!
Paul on Linkedin.
sorry Paul,
How can I open your Example.pbix? Unfortunately I have the following error:
HI @Anonymous,
If your table structure is similar to the excel file which you share with 'PaulBrown', you can copy the raw report 'source' step to replace the shared sample file 'source' steps to fix the issue.
Regards,
Xiaoxin Sheng
@Anonymous
Sorry about that. You need to point the the query to your source file (it's currently pointing at my hard drive).
Use the option in the PQ ribbon "Data source settings" to change the source file
Proud to be a Super User!
Paul on Linkedin.
@Anonymous
Thanks but since the source is stored locally, I can't access the PQ steps. Can you try disabling the "Include in refresh" option (right click on the query and uncheck the option) or provide a sample dataset in an Excel file?
Proud to be a Super User!
Paul on Linkedin.
This is the Excel Source split in Raw data and potential final solution: https://1drv.ms/x/s!AoM_DkwZfHBihn1g_LB3PHNbSeP5?e=d6KMGu
Thanks Paul
@Anonymous
Please provide a sample dataset to work on. (you can share a file from a cloud service (Onedrive, Dropbox, Google Drive...)
Thanks!
Proud to be a Super User!
Paul on Linkedin.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
99 | |
80 | |
77 | |
66 |
User | Count |
---|---|
134 | |
106 | |
105 | |
86 | |
72 |