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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Combibing weekly data

Hi Team,

I have bar chart which shows the user count for each week with respect to the month

rahulkrishna14_0-1641777154451.png

Is there any way I can combine the user  in the week 49 of November to week 49 of december
@amitchandak 




1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , According to my you should month of week start date like

 

Monday start

Week Start date = 'Date'[Date]+-1*WEEKDAY('Date'[Date],2)+1

Sunday start

Week Start date = 'Date'[Date]+-1*WEEKDAY('Date'[Date],1)+1

 

Week = format([Week Start date ], "MMM") & "-W" & format( WEEKDAY([Date],2), "00") 

 

// for Sunday use 1 on a weekday

 

However, I agree with @VahidDM , you can prefer to use week year 

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , According to my you should month of week start date like

 

Monday start

Week Start date = 'Date'[Date]+-1*WEEKDAY('Date'[Date],2)+1

Sunday start

Week Start date = 'Date'[Date]+-1*WEEKDAY('Date'[Date],1)+1

 

Week = format([Week Start date ], "MMM") & "-W" & format( WEEKDAY([Date],2), "00") 

 

// for Sunday use 1 on a weekday

 

However, I agree with @VahidDM , you can prefer to use week year 

Anonymous
Not applicable

Thanks @amitchandak @VahidDM 

Anonymous
Not applicable

Thanks @VahidDM  for the input, but my end-user want to see the visual across month week

VahidDM
Super User
Super User

Hi @Anonymous 

 

Try to use the column with Week Number, rather than Month+Week number then the output will be one column for week 49.

 

also, check this link: https://www.vahiddm.com/post/weekly-time-intelligence-dax

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Top Kudoed Authors