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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Using Previous Month Value for Future

I'm having difficulty creating a new column that uses the previous month's Forecast Percentage for future months. I'm using the measure below but it's just showing blanks for August onwards.

DAU Measure 3 = CALCULATE([Average Users (actuals)],PREVIOUSMONTH(Dates[Date].[Date]))

 

Maximus_0-1593983787897.png

 

4 REPLIES 4
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Would you please inform us more detailed information( your  pbix file (by OneDrive for Business)) if possible? Then we will help you more correctly.

 

Please do mask sensitive data before uploading.

 

Thanks for your understanding and support.

 

Best Regards,

Dedmon Dai

AllisonKennedy
Community Champion
Community Champion

Firstly, if your Dates table is marked as date table you don't need the .[Date] portion of that calculation, so can be:

DAU Measure 3 = CALCULATE([Average Users (actuals)],PREVIOUSMONTH(Dates[Date]))

What is the formula for [Average Users (actuals)] and can you confirm the months you are using are from the Dates table? Do you also have a year filter on this page or visual? Otherwise you might be getting unexpected results.

If your Dates table or any filters in the report are configured to stop at today or this month, that could be the source of your problem.

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Anonymous
Not applicable

Thanks, Allison. The year is filtered on 2020 but I doubt that is the issue because I need to have the previous month values to be carried into the remainder of 2020. Here are the other measures:

 

Average Users (actuals) = CALCULATE(DIVIDE([DAU 1M MA],[Total Devices Base - Actuals]))

 

DAU 1M MA =
IF ( MAX ( ‘Dates’[Date] ) <= TODAY (),AVERAGEX(
DATESINPERIOD( Dates[Date],
LASTDATE( Dates[Date] ),
-1, MONTH ),
[Total Users2] ), [DAU Target])

Hi @Anonymous ,

 

We really need your sample data to figure it out.

 

Thanks for your understanding and support.

 

Best Regards,

Dedmon Dai

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.