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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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