March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Hi,
I need to calculate sales growth in euros and percentage comparing it with last month. How to achieve this?
Measure =
VAR _ThisMonthSales = [Sales Amount]
VAR _LastMonthSales = CALCULATE ( [Sales Amount], PREVIOUSMONTH ( 'Date'[Date] ) )
VAR _Difference = _ThisMonthSales - _LastMonthSales
VAR _Result = DIVIDE ( _Difference, _LastMonthSales )
RETURN
_Result
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!!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |