Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Dear all,
I am loading in a table of data from SQL that has this sort of format... (only more columns)
Date | Value |
05/11/2022 | a |
05/11/2022 | b |
05/11/2022 | c |
01/10/2022 | x |
01/10/2022 | y |
I need to get it into this format during the load
Date | Value 1 | Value 2 | Value 3 |
05/11/2022 | a | b | c |
01/10/2022 | x | y |
given that I don't know what the maximum number of 'Values' I am going to get is.
is anyone able to help?
kind regards
Steve
Solved! Go to Solution.
Hah - I've done it.
I created a column in the SQL using ROWCOUNT and PARTITION. Then when I loaded that table in I could use pivot in powerBI, using the new rowcount column as the column names and choosing not to aggregate the values.
Sorry if I wasted anyone's time and hopefully it will help someone else out.
Best
Steve
Hah - I've done it.
I created a column in the SQL using ROWCOUNT and PARTITION. Then when I loaded that table in I could use pivot in powerBI, using the new rowcount column as the column names and choosing not to aggregate the values.
Sorry if I wasted anyone's time and hopefully it will help someone else out.
Best
Steve
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
76 | |
61 | |
37 | |
33 |
User | Count |
---|---|
99 | |
56 | |
50 | |
42 | |
40 |