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! Learn more

Reply
newton80
New Member

How Show Date (Months and Years) Variance and % Variance of revenue ?

Hi!

 

Im new with Microsoft PowerBi and im rapidly learning this tool.

 

I have a big and typical question:

 

Im creating a new Report. I have data as in the sheet i have showed. So as its possible see, i have a data column (Ac.Gi date) and X, Y. X and Y are 2 revenue columns. I need to compare Month by Month of 2015 and 2016 for x and y. I want to see, for example, so how X (total) values change 1/2015 -> 1/2016 and the % variance.

 

Can anyone explain to me how i could using Dax or a native PowerBi solution ?

 

Thank u!

 

 

 

Ac.GI dateAnnoMonthXY
04.01.20162016134.00260.00
04.01.20162016132.00205.50
05.01.20162016132.00205.50
04.01.20162016126.00468.39
04.01.20162016134.0040.00
04.01.20162016134.0040.00
04.01.20162016134.0040.00
05.01.20162016132.00420.00
05.01.20162016134.00720.00
05.01.20162016133.00270.00
05.01.20162016134.00641.90
07.01.20162016132.00270.00
07.01.20162016133.00420.00
05.01.20162016118.00512.53
05.01.20162016115.00362.47
08.01.20162016133.00715.00
08.01.20162016133.00715.00
08.01.20162016132.00800.00
08.01.20162016132.00800.00
2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @newton80,

 

The measures provided by smoupre above should work, just note that most of the time intelligence functions require a standard Date table to work correctly. If you don't have the Date table yet, you can use CALENDAR function to create the Date table. 

 

Here is a similar thread for your reference.

 

Regards

Greg_Deckler
Community Champion
Community Champion

You will need a date table most likely and then you can do something like the following measures:

 

SumX = SUM([X])

Last Year SumX = CALCULATE ([SumX], SAMEPERIODLASTYEAR ('Date'[Date]))

% Variance = ([SumX - [Last Year SumX])/[Last Year SumX]


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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors