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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
kiddn
Helper I
Helper I

Dynamic rolling 12 months across x axis with sum each completed month

Hi,

 

Beginner Power BI user here.

 

I would like to setup a dynamic rolling 12 month line chart that shows totals by month. 

 

The current line graph shows the year commencing January however I would like it to dynamically update e.g. If last completed month is March then April will show as first month on axis and March will show at end of axis. When April is completed May will show as first month and April as the end month.

 

I have setup a Master Date table which covers off date, fiscal year, month etc however not sure how to tackle this one.

 

I have attached a screenshot below of how it currently shows in the visual.

 

Apologies if I have missed any info off.

 

Thanks in advance

 

 

Rolling month sum 12 months.PNG

 

1 ACCEPTED SOLUTION
kiddn
Helper I
Helper I

Hi all - will work with fiscal year for now and address at a later point - thanks for responding

View solution in original post

5 REPLIES 5
kiddn
Helper I
Helper I

Hi all - will work with fiscal year for now and address at a later point - thanks for responding

Ashish_Mathur
Super User
Super User

Hi,

 

Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Hardik
Continued Contributor
Continued Contributor

you need to create a calculated column and write a dax query that satisfies your criteria of months and display that column as months

Hi yes I understand that a calculated column etc will likely be required. I have a date master table as well. Just need to know what the dax formula is or how to construct it.

Thanks

Hardik
Continued Contributor
Continued Contributor

please share your data for the dax query

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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