Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hallo everyone,
i am creating a report with a Measure that should take the Value of the previuos Day:
Previous Day = CALCULATE([Measure], DATEADD('Datum'[Date],-1,day))Measure = CALCULATE(SUM('Table'[Value]),'Table'[Filter1]="xxxxxx",'Table'[Filter2]="yyyyyyy")the second Measure is the actual Value for today.
in my Matrix Visual, everything is working fine:
but when i add a Date hierachie to it, it does not caculate the first day of the Month correctly. the measure doesnt pull the previous day of the last month:
Thank you!
Solved! Go to Solution.
When you added the Year / Month column to the matrix that also applied a filter which is stopping any days from other months from being included. Change your measure to
Previous Day = CALCULATE([Measure], DATEADD('Datum'[Date],-1,day), REMOVEFILTERS('Datum'[Year Month))
When you added the Year / Month column to the matrix that also applied a filter which is stopping any days from other months from being included. Change your measure to
Previous Day = CALCULATE([Measure], DATEADD('Datum'[Date],-1,day), REMOVEFILTERS('Datum'[Year Month))
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 102 | |
| 79 | |
| 57 | |
| 51 | |
| 46 |