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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
heygau
Helper I
Helper I

Finacial week Number

I am Working on Sales Report based on Financial Year, Yes I am using Separate Calendar Table which has Finacial year 

 

Finacial Year - July 1st to June 30th 

 

1) First week number of finacial year   Starts on first Wednesday of the year , 


Would be really helful if i get help with DAX 

1 ACCEPTED SOLUTION
FreemanZ
Community Champion
Community Champion

hi @heygau 

try to add a column with this:

WeekNum2 =
VAR _value = WEEKNUM([Date]-2,2)-27
RETURN IF(_value>0, _value, _value+52)
 
i tried and it worked like this:
FreemanZ_0-1671072757332.png
FreemanZ_1-1671073055958.png

 

FreemanZ_3-1671073123584.png

View solution in original post

7 REPLIES 7
heygau
Helper I
Helper I

@FreemanZ 

In Our Business Every Wednesday we conduct Sale Week  That Starts First Wednesday of  Each Financial Year, Then Again Next Year also First wednesday of Next Financial Year Satrts Sale week 1.


So, Once this Financial Year Ends, From Next July First Wednesday it Should reset to Sale week 1 

FreemanZ
Community Champion
Community Champion

"July First Wednesday it Should reset to Sale week 1 ", i thought the solution covers that, or is there still something misconsidered?

Beautiful, Its works Mate Thanks Well Done 

 

heygau
Helper I
Helper I

@FreemanZ  Thanks Man Much Appreciated 

 

FreemanZ
Community Champion
Community Champion

hi @heygau 

try to add a column with this:

WeekNum2 =
VAR _value = WEEKNUM([Date]-2,2)-27
RETURN IF(_value>0, _value, _value+52)
 
i tried and it worked like this:
FreemanZ_0-1671072757332.png
FreemanZ_1-1671073055958.png

 

FreemanZ_3-1671073123584.png

@FreemanZ  Is it Possible it conteneous for next finacial Year, 

Because 52nd week came back to first week of Year (Like Cycling)Screenshot (70).jpg

FreemanZ
Community Champion
Community Champion

you want the 1 in circle to be 53? like 52, 53, 54...?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.