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
Anonymous
Not applicable

how to Divide Measure by a column ( number of week)

I want to divide a measure total hours ( month) by the number of weeks ( build table) see below

I have the total hours but for the number of weeks i have built a table and each month i have specified the number of week

 

= Total hours/ number of weeks

 

Diboss_0-1682081915725.png

 

 

4 REPLIES 4
Alf94
Solution Supplier
Solution Supplier

Hi @Anonymous ,

 

Did you try a measure like the following one?

 

Division =
  DIVIDE(
    [Total Hours],
    MAX( Table[Number of weeks] )
  )

where [Total hours] is your measure already created.

Then you can add this new measure to a visual with months as a dimension.

 

Please mark my answer as a solution if I answered your question.

 

Best,

Anonymous
Not applicable

hi @Alf94 ,

below is the table that i am presenting. I have the actual hours for the month ( measure)

I need to calculate the Actual FTE, for now i am doing it manual calculation in excel.

I need to divide the = actual hours / by number of weeks

for example January I have 5 weeks in my calendar but february its 4 weeks

for January = Actual hours / 5 ( which represents number of weeks)

Februay = Actual hours / 4 ( which represents number of weeks)

Diboss_0-1682085528163.png

 

Anonymous
Not applicable

Hi @Alf94 ,

 

it works for January but not the other months because it is always choosing the max ( 5 weeks in stead of 4 weeks)

@Anonymous,

 

Sorry about this, could you explain a bit about how do you want to use this measure once created (which type of visual for example)? It would be best if you provide sample data and the expected output.

 

Best,

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.