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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
RichOB
Post Partisan
Post Partisan

Need help adding a percent growth/decline line between quarters

Hi, I have a line and clustered graph and want to add the percent growth/decline from one quarter to the next (not the percent line shown as the total). It currently looks like this and I want the pink line if possible please. X Axis is Fiscal_Q from the calendar table and Y axis is the count of CustomerID from Sheet 1.

 

graph1.png
I have 2 sheets, one with customer data and the other is a calendar with fiscal quarters. This is how my Fiscal date table is set up: 

FisQ.png

Sample of how my customer data is structured:

 

CustomerIDDate
CST101/04/2023
CST201/04/2023
CST301/04/2023
CST401/07/2023
CST501/07/2023


Unfortunately, the previous post didn't solve the question for me, apologies for the repost. Thanks in advance!

1 ACCEPTED SOLUTION
Irwan
Super User
Super User

hello @RichOB 

 

please check if this accomodate your need.

Irwan_0-1726016436675.png

 

1. create a new measure for customer ID count.

Count = COUNT('Customer'[CustomerID])
 
2. create a new measure for percent
Percent = 
var _Quarter = SELECTEDVALUE('Date'[Fiscal_Q])
var _Current = CALCULATE(COUNT('Customer'[CustomerID]),'Date'[Fiscal_Q]=_Quarter)
var _Prev = CALCULATE(COUNT('Customer'[CustomerID]),PREVIOUSQUARTER('Date'[Date]))
Return
DIVIDE(
    _Prev-_Current,
    _Prev
)
 
3. create line and cluster column chart and put your count measure in column y-axis and percent measure in line y-axis.
Irwan_1-1726016646177.png

 

note: dont forget to create a relationship between date tabel and your table

 

Hope this will help.
Thank you.

View solution in original post

1 REPLY 1
Irwan
Super User
Super User

hello @RichOB 

 

please check if this accomodate your need.

Irwan_0-1726016436675.png

 

1. create a new measure for customer ID count.

Count = COUNT('Customer'[CustomerID])
 
2. create a new measure for percent
Percent = 
var _Quarter = SELECTEDVALUE('Date'[Fiscal_Q])
var _Current = CALCULATE(COUNT('Customer'[CustomerID]),'Date'[Fiscal_Q]=_Quarter)
var _Prev = CALCULATE(COUNT('Customer'[CustomerID]),PREVIOUSQUARTER('Date'[Date]))
Return
DIVIDE(
    _Prev-_Current,
    _Prev
)
 
3. create line and cluster column chart and put your count measure in column y-axis and percent measure in line y-axis.
Irwan_1-1726016646177.png

 

note: dont forget to create a relationship between date tabel and your table

 

Hope this will help.
Thank you.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.