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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Variance Column

Hello all,

 

I need to add a variance column to show Actuals VS Budget variance

 

For example here for allocated fringe benefits I need the variance column to display the value "-1,171.82"

 

dpeeples281_1-1638392887902.png

 

 

But my data in excel is set up like this:

 

dpeeples281_0-1638392812499.png

 

Any help is appreciated

 

1 ACCEPTED SOLUTION
themistoklis
Community Champion
Community Champion

Hello @Anonymous 

 

Based on the data that you shared with us I created 3 measures:

 

GLBUD = CALCULATE(SUM(Sheet1[Total]), FILTER(Sheet1, Sheet1[Year_Code] = "GLBUD2021"))

GLACT = CALCULATE(SUM(Sheet1[Total]), FILTER(Sheet1, Sheet1[Year_Code] = "GLACT2021"))

Diff = [GLACT]-[GLBUD]

 

Then I created a table (not a matrix) and added all the relevant attributes.

 

See attached PowerBI file

View solution in original post

1 REPLY 1
themistoklis
Community Champion
Community Champion

Hello @Anonymous 

 

Based on the data that you shared with us I created 3 measures:

 

GLBUD = CALCULATE(SUM(Sheet1[Total]), FILTER(Sheet1, Sheet1[Year_Code] = "GLBUD2021"))

GLACT = CALCULATE(SUM(Sheet1[Total]), FILTER(Sheet1, Sheet1[Year_Code] = "GLACT2021"))

Diff = [GLACT]-[GLBUD]

 

Then I created a table (not a matrix) and added all the relevant attributes.

 

See attached PowerBI file

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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