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
jugisahunk
New Member

How to Divide Measure by Constant

Ok, n00b here. My searching is weak so I didn't find anything that satisfied my need.

 

I have a dataset of work items. I have a lead time column present on each record. It is in minutes, and I want to create a measure that displays lead time in hours. I want that measure to be (in pseudo code):

 

lead time (hrs) = lead time / 60

 

I'm finding this difficult to do in DAX. What is your advice?

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @jugisahunk,

 

Please refer to below measure:

lead time (hrs) = SELECTEDVALUE(Dataset[lead time])/ 60
Best regards,
Yuliana Gu
Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Yosi
Frequent Visitor

It does not work... I have a column of counts and need to divide ach value by a constant - this soln does not work

v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @jugisahunk,

 

Please refer to below measure:

lead time (hrs) = SELECTEDVALUE(Dataset[lead time])/ 60
Best regards,
Yuliana Gu
Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This gives me what I need :). Unfortunately, I'm getting an error when I try to accept this as a solution.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors