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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
neta2059
Frequent Visitor

Multiple trend lines values on a line chart

I am seeking help on how to create multiple trend lines on a line chart.

The requirement is to compare the three chapters below for 3 consecutive years.  The line chart in PowerBI does not allow me to compare the national data to the organizational data.

We created the below line chart in Excel and are trying to mimic it in PowerBI.  Any thoughts?

p.s. I have tried the Legend feild but it does not allow me to use two measures for comparisons.  Also, small multiples will not work for this requirement.  

 

Chart created in Excel: 

neta2059_0-1718374360823.png

 

Chart created in PowerBI:

 

neta2059_1-1718374416017.png

 

Thank you in advance. 

3 REPLIES 3
v-jianpeng-msft
Community Support
Community Support

Hi, @neta2059 

You'll need to put your x-axis categorical field in Legend:

vjianpengmsft_0-1718885072362.png

vjianpengmsft_1-1718885088773.png

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

PabloVallejo12
Frequent Visitor

Why do you use two measures?
If you have your data in different tables, try to use summarize to get a only one

Hi, 

 

We are comparing between two different data sets: "National" and "Organization".  It coming from two different tables.  See below. 

neta2059_0-1718375536872.png

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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