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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Max_Z
Microsoft Employee
Microsoft Employee

Week data graph for several values

Hello Gurus, 

 

Didnt managed to find a solution for the following:

 

I am working with PBI and need to display weekly data on the line chart -> currently data is being displayed by day.

Using weeknum function is not really helpfull as when I look on the month overview it shows weekly data agregated by whole month.

I need to see data by week (on month graph) - where data for each week in independent from previous week...

 

Currently I am using Excel table by a side, entring weekly data 

Is there any way to achieve the same result in the PowerBI ?

 

Attaching screenshot for better understanding,

PowerBI:

PBI.jpg

Excel table:

Excel.jpg

10 REPLIES 10
ml_andrew
Regular Visitor

Hi, @Max_Z the default PBI date hierarchy doesn't support week drill down, you can however create a customized date hierachy one as year->month->week and then use this new field to create your visuals. Thanks Andrew
Max_Z
Microsoft Employee
Microsoft Employee

@ml_andrew  Ho do I do that ? 

create a new column in your date table called week,, like week=weeknum(datetable[date],2) create two other columns call year=year(dateable[date]) and month=month(datetable[date]) then in the report builder, drag this week field onto year field, then do the same to the month.
Max_Z
Microsoft Employee
Microsoft Employee

@ml_andrew  thanks, tried that but it is not really helps to the need.... 

Still need to use Excel charts... 

I need ability to have an option to display data in graph per specific weeks as it shown in the Excel graph in hte beginning of the post...

Currently PowerBI agreggrades the data and shown data for whole chosen period... and not the data by the week chunks...

 

ScreenClip.png

 

got confused, isn't this what you are looking for?

Max_Z
Microsoft Employee
Microsoft Employee

@ml_andrew not really... as mentioned in the beginning...

Currently I have to work with Excel table and PBI (that collects data from Kusto).
For my needs I collect results in PBI on weekly basis and manually put them to Excel and table looks like:

17-23/11/1938.8%37.5%21.5%2.2%
24-30/11/1946.1%29.2%22.4%2.3%
1-7/12/1945.2%28.7%24.3%1.7%

To get that data I set in PBI time slidet for these days (entire week) like that :

pbi_2.jpg

 

Hope it is bit clearer now...

Visual that I need to display is weekly results and not agregated data.

 

Max_Z
Microsoft Employee
Microsoft Employee

Any suggestion ?

v-chuncz-msft
Community Support
Community Support

@Max_Z 

 

It seems that you may take advantage of Drill down in a visualization in Power BI.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-chuncz-msft  Hi, any other suggestions ?

Hi,

 

It doesnt work.. in a dril down there is no option to have weekly points

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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