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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Make Total By Column same report

Hi Everyone

 

I'm tying to make a simple variance between some columns in a same report in Figures and in %

Here below i'm trying to do ACTP Vs. LE (Var+/- and %) and on the same table ACTP Vs. PLAN (Var+/- and %) and finally ACTP Vs. A-1(Var+/- and %)

Romain1768_0-1632137394081.png

will it be possible ?

Thanks

1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

Hi @Anonymous , 

You will need to create all the calculations with measures instead. So something along the lines of 

 

ACTP = Calculate( Sum( Table[Column] ) , Table[Column] = "ACTP" )
LE = Calculate( Sum( Table[Column] ) , Table[Column] = "LE" )
ACTP/LE Variance = [ACTP] - [LE]
ACTP/LE Variance % = 
VAR Percent_ = DIVIDE( [ACTP] , [LE] , BLANK() )
Return
IF( Percent_ = BLANK() , BLANK() , Percent_ )

 


Then do the same for the rest of the calculations! 

Br, 
J


Connect on LinkedIn

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks i didn't think of that .....

tex628
Community Champion
Community Champion

Hi @Anonymous , 

You will need to create all the calculations with measures instead. So something along the lines of 

 

ACTP = Calculate( Sum( Table[Column] ) , Table[Column] = "ACTP" )
LE = Calculate( Sum( Table[Column] ) , Table[Column] = "LE" )
ACTP/LE Variance = [ACTP] - [LE]
ACTP/LE Variance % = 
VAR Percent_ = DIVIDE( [ACTP] , [LE] , BLANK() )
Return
IF( Percent_ = BLANK() , BLANK() , Percent_ )

 


Then do the same for the rest of the calculations! 

Br, 
J


Connect on LinkedIn

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.