The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I have a table like this
Year | men clothing | women clothing | children chothing | men shoes | women shoes | children shoes |
2010 | 10 | 20 | 30 | 40 | 50 | 60 |
2011 | 15 | 25 | 35 | 45 | 55 | 65 |
I want to create a visual like this
Item | 2010 sale | 2011 sale |
clothing | 60 | 75 |
shoes | 150 | 165 |
Thank you in advance!
Solved! Go to Solution.
In the query editor
- Select your year column, right click and choose unpivot other columns
- Split the Attribute column at the space and name those columns what you want
- Use the column with Clothing, Shoes, etc. in a matrix visual with the Year column on columns and Sum aggregration of the Value column
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
In the query editor
- Select your year column, right click and choose unpivot other columns
- Split the Attribute column at the space and name those columns what you want
- Use the column with Clothing, Shoes, etc. in a matrix visual with the Year column on columns and Sum aggregration of the Value column
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Thank you very much!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
93 | |
82 | |
64 | |
58 |
User | Count |
---|---|
248 | |
123 | |
112 | |
79 | |
78 |