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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jcoolen09
Regular Visitor

Every row showing same value for custom column

I want to show a percentage for each row. The formula is their Billable Hours column DIVIDED by their Total Hours column. Why is it just showing the same value for every row? 

 

jcoolen09_0-1708624356753.png

jcoolen09_1-1708624382489.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @jcoolen09 ,

I created some data:

vyangliumsft_0-1708652429105.png

 

Here are the steps you can follow:

1. Create measure.

Measure =
var _sumbillable=
SUMX('MARSData',[Billable Hours])
var _sumtotal=
SUMX('MARSData',[Total Hours])
return
DIVIDE(
    _sumbillable,_sumtotal)

2. Result:

vyangliumsft_1-1708652429106.png

 

 

Best Regards,

Liu Yang

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

Hi  @jcoolen09 ,

I created some data:

vyangliumsft_0-1708652429105.png

 

Here are the steps you can follow:

1. Create measure.

Measure =
var _sumbillable=
SUMX('MARSData',[Billable Hours])
var _sumtotal=
SUMX('MARSData',[Total Hours])
return
DIVIDE(
    _sumbillable,_sumtotal)

2. Result:

vyangliumsft_1-1708652429106.png

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Fowmy
Super User
Super User

@jcoolen09 

Create a measure with our code. 


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

our code?

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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