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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
MarcusClaudius
Regular Visitor

Building Variance Reports in Power BI

To all

 

 

I'm trying to replicate the Variance Reports which I am currently producing in Excel.

 

The columns are your standard collections of Actuals v Budget, on month, and YTD. Followed by Forecast v Budget for the Full Year.

Whilst the rows are varied groupings (albeit solidly structured in a hierarchy) of cost centres/account codes interspered with subtotals.

There is also the fact that our Financial Year is not the same as the Calender Year (just to spice things up even further).

What I am struggling with is the sheer lack of versatility that Excel offers.

Of course Excel lacks the speed and dynamism that Power BI possesses.

So the simple question is. Is it possible to do make one?

 

Thanks

 

Mark Taylor

4 REPLIES 4
Greg_Deckler
Super User
Super User

Probably, would want sample data and expected output. Your current report screen shots would help. See this Quick Measure:

 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...

 

For examples of calculating variances between years, etc.

 

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Greg

 

I've just posted a few examples of the kinds of Excel reports that I produce.

 

Thanks for your help

hi,@MarcusClaudius

  you can use TOTALYTD Function and TOTALMTD Function to create the measure like this:

SaleYTD = TOTALYTD(CALCULATE(SUM(Table1[sales])),'Date'[Date])

For example

1.PNG

and use SAMEPERIODLASTYEAR Function create the measure

Previous sales=CALCULATE(SUM(Table1[sales]), SAMEPERIODLASTYEAR('Date'[Date]))

Then use these measures and other fields to create your report.

 

Best Regards,

Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

By Account Code.PNGBy Cost Centre 2.PNGBy Cost Centre.PNGBy Cost Centre 3.PNG

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.