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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Percent point difference between 2 columns (expressed as % of grand total)

Hi 

 

I have the following data

Company2017 sales2018 sales
A$40$50
B$60$100
total$100$150

 

 

 

I've converted this to express market share, by choosing visualization as - express as % of grand total

Company2017 share2018 share
A40%33%
B60%67%
total100%100%

 

 

 

Now I want to get the following output

 

Company2017 share2018 shareChange
A40%33%-7% pt
B60%67%+ 6% pt
total100%100% 

 

 

The problem is that I'm not able to get the difference to be expressed as percent point difference.

I'm currently using a Measure that os defined as : Change= 2018 share - 2017 share

 

This only expresses Change as either absolute $ difference in sales value OR

expresses this $ difference as % of row/column total. None of this delivers the desired output.

 

I'll appreciate any help on this!

1 REPLY 1
Anonymous
Not applicable

@Anonymous  Please create following measures

Share 2017 = 
VAR Sales_2k17 = SUM(Test[2017 Sales])
VAR All_2017 = CALCULATE(SUM(Test[2017 Sales]),ALL(Test))
RETURN DIVIDE(Sales_2k17,All_2017,0)

Share 2018 = 
VAR Sales_2k18 = SUM(Test[2018 Sales])
VAR All_2018 = CALCULATE(SUM(Test[2018 Sales]),ALL(Test))
RETURN DIVIDE(Sales_2k18,All_2018,0)

Change = [Share 2018]-[Share 2017]

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.