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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
brinky
Helper IV
Helper IV

Line chart

Hello,

 

Tha chart attached is showing year vs month for 1 brand, any idea how I can create a line chart showing 3 brands wih year and monthly performace.

 

Thanks,

Steve

line chart.JPG

 

 

 

 

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @brinky 

Another method is to import a custom visual Power KPI from marketplace.

Create measures

2018 = CALCULATE(SUM(Table1[data]),FILTER(Table1,Table1[year]=2018))

2019 = CALCULATE(SUM(Table1[data]),FILTER(Table1,Table1[year]=2019))

13.png

Under Format->line, select each brand name, apply color for it.

12.png

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @brinky 

Another method is to import a custom visual Power KPI from marketplace.

Create measures

2018 = CALCULATE(SUM(Table1[data]),FILTER(Table1,Table1[year]=2018))

2019 = CALCULATE(SUM(Table1[data]),FILTER(Table1,Table1[year]=2019))

13.png

Under Format->line, select each brand name, apply color for it.

12.png

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-juanli-msft ,

 

Thanks worked like a charm, well done.

 

Regards,

Stephen

v-juanli-msft
Community Support
Community Support

Hi @brinky 

I have this kind of table structure, when adding "brand" column in a slicer, i can show 3 brands wih year and monthly performace.

Is this something as expected?

 

1.png

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.