Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello!
Im trying to build a dashboard where I have a measure and if the date is in the future (blank value) the measure should do the average of last six months. Can you help me?
Example: In the image, 'July' should sum the values since January and divide by 6.
thanks.
Luis.
Solved! Go to Solution.
Hi,
I don't think this is possible with a DAX measure because this will lead to a circular reference.
@luismolle It is possible, if you can share your pbix file (remove sensitive information) and explain the output, I will get you the solution.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi parry2k,
I found a possible easier way to solve my demand here. Can you take a look into the following link for the other question I opened, please?
https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-show-value-from-last-year...
@luismolle If you had answered my question you would had a solution by now. Good luck!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi,
What should the result of August be?
Hello! Should be the sum between February and July, divided by 6.
In this case, July should result 399,553,108.5 and August should result 310,643,190.91
Hi,
I don't think this is possible with a DAX measure because this will lead to a circular reference.
@luismolle first what defines future months? Any month after today()? 2nd, does it use average for all future months or just the next month after today()?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Im working with Fiscal Years, so I will always have the full year months as an estimate and, since the months are being completed, I will change the value to actuals.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.