Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
Lets say I have 3 columns:
- Sales amount
- Product (A, B or C)
- Date
I move Sales to value, Date to Axe and Product to legend. I select a line chart I can now see the amount of each product sold per day with three lines referring to each of the products A, B and C.
How can I now add a total sales line to the (same) chart?
Many thanks!
Solved! Go to Solution.
Hi @Anonymous,
It is not allowed to add multiple lines together with legend to a line chart visual. As a workaround, I would suggest you choose Line and Clustered column chart.
Please Sales to column value, Date to Shared Axis and Product to column series. Then, create a measure to calculate total values and add it to line value.
Best regards,
Yuliana Gu
I did this in the data. I created a query to pull the data and then UNION the same query but this time with Total as product
so select [Sales Amount], Product, date from table1
UNION
select [Sales Amount], 'Total' AS product, date from table1
Then total is one of my products with the total amount.
Hi @Anonymous,
It is not allowed to add multiple lines together with legend to a line chart visual. As a workaround, I would suggest you choose Line and Clustered column chart.
Please Sales to column value, Date to Shared Axis and Product to column series. Then, create a measure to calculate total values and add it to line value.
Best regards,
Yuliana Gu
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
97 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |