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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
TPista
Regular Visitor

What is the best way to create a monthly trend line over a columns chart?

I have my columns chart which displays several security KPIs, all of them are percentages. I want to set a separate trend line on each one of them. Please refer to the following image:

TPista_0-1716221278479.png

These are 4 KPIs, all saved in the same table. Each percentage represents a value at a given month. Light blue for january, dark blue for february and orange for march.

 

This is the data im using for this report:

TPista_1-1716221438693.png

Where:

ENE-24 are the percentages of all kpis for the month of january

FEB-24 are the percentages of all kpis for the month of february

MAR-24 are the percentages of all kpis for the month of march

Indicadores are all the KPI names.

 

Do I need to create a measure on power bi or in the data sheet (excel) where im extracting the values?

 

Ideally this is how it should look like:

TPista_2-1716221646960.png

 

Thank you in advance

 

3 REPLIES 3
CMajka8
Helper I
Helper I

Yes, indeed. Ed's method in the linked blog is the best method I have come across. It's easy to implement and dynamic. Hope it helps

https://www.ehansalytics.com/blog/2019/3/17/create-a-dynamic-date-table-in-power-query

CMajka8
Helper I
Helper I

I would consider using small multiples here so that the time [month] can be on the X axis. You will probably want to create a proper date table as well, if you don't have one already. 

Hi, thank you for your reply.

Do you have any resources that I can check in order to understand how to create a proper date table for this case? 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.