Forum Discussion
Dynamically including columns in stacked column chart
- Anonymous6 years ago
Hi Anonymous ,
Yes,you should unpivot all the category columns into one column that it will automatically apply for the changes:
Steps are as below:
Go to query editor>select category columns>unpivot:
And you will see:
For the related .pbix file,pls click here.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
Anonymous you should unpivot your data
- transform data
- select date column in your table
- right-click, unpivot other columns it will add two columns, attribute, and value, rename these as per your requirement
- close and apply
To visualize,
- date on x-axis
- attribute on legend
- value on values section
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡