Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, I would like to create a line chart as follows:
I have created two measurements for actual values (colors) and forecast (grey):
actual = IF('Table'[Month Number]<= 6, [Sales], BLANK())forecast = IF('Table'[Month Number]>= 6, [Sales], BLANK())
But I also want to have a line per category (4 lines, part color, part grey). I cannot add a field as a legend, when I have two measures on Y axis. How can I achieve this?
Solved! Go to Solution.
draw eight separate lines , four for actuals and four for forecast. Duplicate the data point where the lines touch.
draw eight separate lines , four for actuals and four for forecast. Duplicate the data point where the lines touch.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |