Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
deepanwita25
Advocate III
Advocate III

How to create a line chart which is both solid and dotted

Hello All, I have been given the task to create a line chart. The line chart will contain Actual and Predicted Values. The Forecasted/Predicted Values need to be represented by a dotted line while the actual values will have a solid line..I need to achieve this feature in a line graph..What do you recommend how i do it? There is something called Charticulator that I am not very much aware of? will that work for this or I can do it simply with another chart from the marketplace..Please help me here

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@deepanwita25 

In a line chart, add the Actual and Forecast sales, 

Fowmy_0-1739543194589.png

On the properties pabe, select the line and the Forecast measure, then change the line style to dotted 

Fowmy_1-1739543249006.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @deepanwita25 ,

 

Pls has your problem been solved? If so, accept the reply as a solution. This will make it easier for the future people to find the answer quickly.
If not, please provide a more detailed description, preferably some virtual sample data, and the expected results.

Best Regards,
Stephen Tao

 

Fowmy
Super User
Super User

@deepanwita25 

In a line chart, add the Actual and Forecast sales, 

Fowmy_0-1739543194589.png

On the properties pabe, select the line and the Forecast measure, then change the line style to dotted 

Fowmy_1-1739543249006.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Thank you so much @Fowmy  for your solution. Your sol inspired me to create the below.

I created 2 measures where one is the Actual and the Other is Actual&Forecast.

In Actual&Forecast the logic is If Actual value not available then give me forecasted values.

The arrangement of the 2 measures is also important in the Y-axis field is also important. Keep Actual&Forecast on the top and then Actual values.

Then you get the following:

deepanwita25_0-1740128712817.png

 




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors