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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Muratik55
Helper I
Helper I

Get date from week number but week number in monthly cycle

Hello everyone,

I know there are couple of topic already out there for similar problem but this one might be little bit different.

So, i already have the week number in monthly cycle.My week number goes up to 5 bc some of the order comes in later in that month and that is consider as a week number 5 in my dashboard. week number calculates from Sunday to Saturday

my user would like to see instead of week number 1 or 2, they prefer to see what sunday thro monday date is. So that way they will have the date range already when they need to compare it or etc.

Muratik55_0-1680033033472.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@Muratik55 , if you have year , this how you can get date from week

new column

=

var _st =  Date([year]),1,1)

var _stweek = _st - weekday(_st,2) +1  //monday start ,use 1 in weekday for sunday

return 

_stweek + ([week] *7)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

new column =

var _st =  Date(('L'[Year]),1,1)

var _stweek = _st - weekday(_st,1)  +1

return

_stweek + ('L'[Week] *7)

This solution worked good but only problem is when i don't select a any spesific month or date in the tab instead of showing 5 week/4 week, it shows 10 week
 
This should have only 5 week when it the month or date is not specify. Is there any way i can make it like that?
Muratik55_0-1680104018205.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.