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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
X19203659
Helper I
Helper I

trailing previous 30 days + week of date selected in a Area line Chart

Hi team,

 

I would like to get a similar final result as shown in graph below:

X19203659_0-1688636140039.png

I am currently using Power Kpi 2.0.0 to show this area line chart.

 

As you can see the 7 lines refer to a specific day of the current week (Monday, Tuesday, etc.) and the area part is the average of the previous 30 days ("Prev.Week").  The x axis only shows the time of day.

 

I would like to be able to select any date in the past and based on this selected date, show the week of this date ie. 7 lines (for each weekday) and also show the average of the previous 30 days (ie. month) prior to the week (ie. 7 lines). 

 

To achieve this I have the below data:

- "Attribute" = Location Name

- "This week" = name of the day ("Monday", "Tuesday", etc., "Prev.Week")

X19203659_1-1688636949219.png

 

Many thanks in advance for your help!

Guillaume

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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