cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Pradnya_Haraple
Frequent Visitor

DAX Measure to create a 4 Week Period

Need a help on DAX Measure to create a period based on Week Number.

I want to combine 4 weeks into one period. 

Pradnya_Haraple_0-1680709536829.png

For example :

If Week Number is  1, 2, 3, 3 then a measure should display a period value as 1,

If Week Number is 4, 5, 6, 7 then it should display a period value as 2.

Can this be done with the help of DAX?

 

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

I think you can do something like:
4 Week Period Number = QUOTIENT(WeekNumber, 4)

View solution in original post

2 REPLIES 2
vicky_
Super User
Super User

I think you can do something like:
4 Week Period Number = QUOTIENT(WeekNumber, 4)

Yes, this worked for me.

Thanks for your help

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors