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
Ali_Chibani
Frequent Visitor

Calculate contribution to growth

Hello everyone,

 

I am trying to calculate a new measure that shows each car type's contribution to monthly and quarterly growths. For instance, as you can see in the image below, car sales rose 3.7% in March. I am interested in how much each car type (i.e., electric, sedan, and SUV) contributed to that 3.7% growth. Similarly, I am intersted in computing contributions to quarterly growths too. I attached the PBI fille.

 

P.S. March and Q2 were used as an example. In other words, I want to compute the contribution to growth for each month and quarter.

 

Your support is highly appreciated!

 

Sincerely,

Ali 

 

Ali_Chibani_0-1716402182615.png

Ali_Chibani_1-1716402657074.png

Car_sales_Ontario.pbix

 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Ali_Chibani ,

Please try to create a measure with below dax formula:

Contribution Percent =
VAR _a =
    SUMX (
        FILTER ( ALL ( car_sales ), [Date] = SELECTEDVALUE ( car_sales[Date] ) ),
        [Sales amount]
    )
VAR _b = [$ growth]
RETURN
    DIVIDE ( _b, _a )

vbinbinyumsft_0-1716432556528.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
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

2 REPLIES 2
Anonymous
Not applicable

Hi @Ali_Chibani ,

Please try to create a measure with below dax formula:

Contribution Percent =
VAR _a =
    SUMX (
        FILTER ( ALL ( car_sales ), [Date] = SELECTEDVALUE ( car_sales[Date] ) ),
        [Sales amount]
    )
VAR _b = [$ growth]
RETURN
    DIVIDE ( _b, _a )

vbinbinyumsft_0-1716432556528.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey @Anonymous,

 

Thank you very much for your support on this! 

 

How should I modify the measure to calculate the quarterly contribution to growth?

 

Sincerely,

Ali

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.