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

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.

Reply
snemilipuri
Helper I
Helper I

Need Solid and Dotted lines in the same chart

Hi,

 

We have the below fields 

Dimension: Region ( East, west, North and South)

Measures: 1. Actual

                 2. Target

 

Now the requirement is to create a line chart with Acuals as solid line and Targets as Dotted line.

so the output will be 8 lines:  4 solid (actuals), 4 dotted (target)

Just like below image. Please help

snemilipuri_0-1623237268512.png

 

 

 

4 REPLIES 4
AshwinKulkarni
Advocate I
Advocate I

@snemilipuri , Can you please try to put these values in 8 diferent columns and then try to pull all columns in field region.
And do not use anything in legends region.

I hope this helps.

Thanks,
Ashwin Kulkarni

 

Hi Ashwini,

 

This worked, Thanks. But the list of values in the dimension are more than 10 and the list may also increase. So in this case,  instead of creating multiple measures (individual measures for actual and target) is there any alternative. Please suggest.

amitchandak
Super User
Super User

@snemilipuri , You can not have legends with two measures in a standard like viusal. You need to check for some custom visual

 

https://appsource.microsoft.com/en-us/marketplace/apps?product=power-bi-visuals

Can you please suggest any custom visual suitable for this requirement

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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