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.
I have several data sets, all of which have the same column layout:
Each data set represents a different kind of cost. One data set is 'rent', another is 'security costs', etc. But, they're all financial and have the same column layout.
I want to create a line chart that shows each of these costs as different series. I am able to do this for each data set individually by unpivoting the columns. But when I place more than one value into the line chart (from another data set), it simply puts a line through the chart that isn't correct for the data.
Any help would be much appreciated,
Thanks
Solved! Go to Solution.
@shaunguyverYou could add a new column to each of your facts(sheets) which tells the category(i.e. Rent etc) and then union all the facts into 1 table. When you are drawing the line chart after this you can add the category in the legend field.
Thanks for your quick reply - the first screenshot is an example of the Excel data my data sets are feeding from. The second screenshot is the data set in query editor once it has been un-pivoted so that I can create line charts.
@shaunguyverYou could add a new column to each of your facts(sheets) which tells the category(i.e. Rent etc) and then union all the facts into 1 table. When you are drawing the line chart after this you can add the category in the legend field.
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 |
---|---|
76 | |
75 | |
54 | |
37 | |
31 |
User | Count |
---|---|
99 | |
56 | |
50 | |
42 | |
40 |