cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lamia
Helper I
Helper I

% Variance on columns with %of GT format

Hello,

Kindly if someone can help me to figure out a mesure to calculate variance between two columns formated with percentage of total.

 

My 2 columns E and F are displayed on Powerbi as Percentage of GT 

image.png

 

I need to calculate on Power Bi the column G using these percentages of the columns E and F

image.png

 Thanks in advance for your help

1 ACCEPTED SOLUTION
Lamia
Helper I
Helper I

Finally I was able to solve this, thanks to the solution posted on the following link https://community.powerbi.com/t5/Desktop/What-is-the-GT-Quick-Calculation-really/m-p/177595#M77682 

I used measure to calculate %GT for each column

%GT = [Total Items]/CALCULATE([Total Items],ALLSELECTED('Table1'))
%GT LY = [Total Items LY]/CALCULATE([Total Items LY],ALLSELECTED('Table1'))

than another measure to calculate the variance 

Var %GT = ([%GT]-[%GT LY])/[%GT LY]
 
Quite easy 😀

View solution in original post

1 REPLY 1
Lamia
Helper I
Helper I

Finally I was able to solve this, thanks to the solution posted on the following link https://community.powerbi.com/t5/Desktop/What-is-the-GT-Quick-Calculation-really/m-p/177595#M77682 

I used measure to calculate %GT for each column

%GT = [Total Items]/CALCULATE([Total Items],ALLSELECTED('Table1'))
%GT LY = [Total Items LY]/CALCULATE([Total Items LY],ALLSELECTED('Table1'))

than another measure to calculate the variance 

Var %GT = ([%GT]-[%GT LY])/[%GT LY]
 
Quite easy 😀

View solution in original post

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Top Solution Authors
Top Kudoed Authors