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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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