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 everyone.
I have a tiny but mess problem with
I have a tiny but mess problem with this simple measure: I got two tables, one with monthly costs of a budget
and a table data.
I only want to make an easy measure in order to obtain the costs of the previous month:
PREVIOUS MONTH 2021 = CALCULATE((CALCULATE(SUM('Matriz'[Total]), Matriz[Year]="2021", Matriz[Origen]="Cuenta de resultados")), PREVIOUSMONTH(Calendario[Date]))
It actually is not working so far.
Can you help me with it?
Thanks in advance.
Best
@ÒScar , You should not add filters for year and month. In case you need a filter use a slicer from date table
Assuming year filter related to date of date table
PREVIOUS MONTH 2021 = CALCULATE(SUM('Matriz'[Total]), filter(Matriz, Matriz[Origen]="Cuenta de resultados"), PREVIOUSMONTH(Calendario[Date]))
refer
Why Time Intelligence Fails - Power bi 5 Savior Steps for TI: https://youtu.be/OBf0rjpp5Hw
Hi @amitchandak ,
first of all, thank you so much for your quick response.
I share with you a screenshot of my dashboard once I have followed your advice, I´m afraid it still doesn´t work...
Could you take a look on it, please?
Thank you once again, @amitchandak ,
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 |
---|---|
23 | |
15 | |
12 | |
9 | |
8 |
User | Count |
---|---|
40 | |
32 | |
29 | |
12 | |
11 |