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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
thhmez7
Helper III
Helper III

Last 3 months by date based on selecting a different date field

Hello,

I've opened a similar thread, but this usecase is a bit enhanced:

An event can have multiple Accounts. Eve O has the accounts C and O. If I click this event, the chart should show the revenue of last 3 months (including current month), starting with March 2021 of the Account Date.

charts.jpg

However here it shows only one month:

charts_filtered.jpg

Here is my measure:

MeasureMeasure

Relationships:

RelationsRelations

Account table with Revenue and Date

Account.jpg

Event table 

events.jpg

Thank you for your help

2 ACCEPTED SOLUTIONS
TomMartens
Super User
Super User

Hey @thhmez7 ,

 

I assume this article provides what you are looking for: https://helicaltech.com/display-selected-month-data-using-date-dimension-powerbi/

The essential part is using a dedicated calendar table.

 

Hopefully this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

thhmez7
Helper III
Helper III

4 REPLIES 4
thhmez7
Helper III
Helper III

https://www.youtube.com/watch?v=d8Rm7dwM6gc&t=789s

found a solution in this video, thanks guys.

Ashish_Mathur
Super User
Super User

Hi,

See if my solution here helps - Flex a Pivot Table to show data for x months ended a certain user defined month.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
TomMartens
Super User
Super User

Hey @thhmez7 ,

 

I assume this article provides what you are looking for: https://helicaltech.com/display-selected-month-data-using-date-dimension-powerbi/

The essential part is using a dedicated calendar table.

 

Hopefully this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hi @TomMartens 

I just tried this with a calendar table which has relation to Account table with Date column. However still not correct, as this shows only one month with the sum/cumulative value of the last 3 months. It should be spread over the last 3 months of the selected month. What could be still wrong?

newtry.jpg

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors