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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Analitika
Post Prodigy
Post Prodigy

How calculate month growth in euros comparing with last month also in percent in Power BI?

Hi,

 

I need to calculate sales growth in euros and percentage comparing it with last month. How to achieve this?

2 REPLIES 2
piotr_gor
Helper II
Helper II

Measure = 
VAR _ThisMonthSales = [Sales Amount]
VAR _LastMonthSales = CALCULATE ( [Sales Amount], PREVIOUSMONTH ( 'Date'[Date] ) )
VAR _Difference = _ThisMonthSales - _LastMonthSales
VAR _Result = DIVIDE ( _Difference, _LastMonthSales )
RETURN
_Result

 

 

 

Kishore_KVN
Super User
Super User

Hello @Analitika ,

Follow below steps to achieve your requirement. 

1. select the sales amount column and change the format to Euro in the column tools. 

2. Create a calendar table, then connect it with the fact table. 

3. Create two measure one for current month and another for previous month

       Current Month = sum(sales amount)

       Previous Month  = Calculate(sum(sales amount),previousmonth(calendar[date]))

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.