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.
Hi, I have a file with 4 columns:
A B C D (all number)
1 2 3 4
5 6 7 8
What I want is 1 column (in a new file) with all values under eachother:
X
1
2
3
4
5
6
7
8
Is this possible in Power Query? (Or mayby DAX?). Thank you.
Solved! Go to Solution.
Hi @Tigo1962
Please try this:
First of all, I create a set of sample:
Then click the Transform data in the home pane:
Then choose all the columns and click the unpivot Columns in transform pane:
The result is as follow:
Then click close&apply
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your help, it was the solution. I couldn't do it first, because of the NULL values in some of the rows. After filtering these, your solution worked.
Thanks for your help. Indeed it's working with a trstfile like the one you described. But when I do the same steps on my file (more then 30 columns, but I try to merge 4 of these), an unexpected error opccured. But what the error is, I don't know.
Hi @Tigo1962
Could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Tigo1962
Please try this:
First of all, I create a set of sample:
Then click the Transform data in the home pane:
Then choose all the columns and click the unpivot Columns in transform pane:
The result is as follow:
Then click close&apply
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
85 | |
83 | |
66 | |
60 | |
57 |
User | Count |
---|---|
188 | |
111 | |
105 | |
78 | |
71 |