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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Total of Billable and Non-billable hours for each project

Hi all.  I am still learning this Power BI stuff so please bear with me.  This has got to be pretty easy, but I'm struggling to put it together.  I am trying to calculate the total of billable and non-billable hours for time entries for each project we have.  So the time entries data will look something like this:

PROJECTBILLABLEHOURS
Project AFalse2.5
Project ATrue1.5
Project ATrue2.0
Project AFalse1.0
Project ATrue3.0
Project BTrue1.0
Project BTrue3.0
Project BFalse2.5
Project BFalse2.5
Project BFalse3.0

 

So I want to total all hours for True and all hours for False for Project A and the same for Project B:

PROJECTBILLABLETOTAL HOURS
Project ATrue6.5
 False3.5
Project BTrue4.0
 False8.0

 

Thanks!

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.\

 

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @Anonymous ,

Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.

If these also don't help, please share more detailed information and description to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Ahmedx
Super User
Super User

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.\

 

Anonymous
Not applicable

@Ahmedx,  I appreciate you going to the trouble of putting that file together.  This was insanely simple and I'm embarassed I couldn't figure that out.  Thanks!  

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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