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
Anonymous
Not applicable

Seasonality chart showing 5 year average

Dear All,

 

I was wondering if there is a way to calculate an average of the seasonality data, essentially showing a best fit curving through the middle of the graph below. How would I calculate it as I want it to be dynamic, and change when I change product type or location for example. Also, how can it be displayed as it is an average and will no longer be a date in the legend.

 

2019-04-18 10_22_14-Outages - Power BI Desktop.png

 

In excel, it is easy to create, as I just create a table with an 'Average' column 

 

2019-04-18 10_28_55-Global Outages - Excel.pngMany thanks if you are  able to help

1 ACCEPTED SOLUTION
AnthonyTilley
Solution Sage
Solution Sage

i have create a PBIX file that does what your after (using some randomised data).

PBIX FILE

if you need help in understanding the sheet then let me know

 

in order to get the avarage and 5 year values into one chart i needed to create a 5yer table that had the values of the years you want to compare.

 

this is then used to genarte 5 measues for tha values of each year 

 

i then created a measure for the avarage of these 5 years 

 

all 6 measures can then be used in a line chart with month to show what you wanted 

 

avgline.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
AnthonyTilley
Solution Sage
Solution Sage

i have create a PBIX file that does what your after (using some randomised data).

PBIX FILE

if you need help in understanding the sheet then let me know

 

in order to get the avarage and 5 year values into one chart i needed to create a 5yer table that had the values of the years you want to compare.

 

this is then used to genarte 5 measues for tha values of each year 

 

i then created a measure for the avarage of these 5 years 

 

all 6 measures can then be used in a line chart with month to show what you wanted 

 

avgline.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




AnthonyTilley
Solution Sage
Solution Sage

Do you have a source pbix file or an excel file with some sample data.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.