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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

New measure

Hello;

 

I would like to ask if what Measure can i use to calculate the column WORK CATEGORY for Admin-Work plan and Admin-Work plan (OT) only.  Not including the other work category.

 

Request IDUnitResource EIDWork CategoryItemCommentWorked DateWorked Hours
2987-0331Team 1Admin-Work planN/AFIO Workplan8/29/20180.50
2987-0323Team 3Admin-Work plan (OT)N/A 8/29/20182.00
2987-0313Team 5Admin-Work plan (OT)FIO(1-1) 8/30/20180.75
2987-0313Team 6Admin-Work planFIO(1-2) 8/30/20180.75
2987-0341Team 2Admin-Work plan (OT)N/A 8/29/20181.00
2987-0331Team 4Admin-Work planN/AFIO Workplan8/30/20181.00
2987-0332Team 3Admin-Work planN/A 8/30/20182.00
2987-0312Team 2Admin-Work planFIO(1-1) 8/30/20180.75
2987-0312Team 4Admin-Work planFIO(1-2) 8/30/20180.75
2987-0313Team 5Execution- ExecutionFIO(1-1) 8/30/20184.00
2987-0313Team 6Execution- ExecutionFIO(1-2) 8/30/20180.50
2987-0313Team 1Admin-AdminN/AEmails, Tracker, Unit Tracker Consistency8/30/20181.00
2987-0321Team 2Execution- Execution (OT)FIO(1-1) 8/30/20183.50
2987-0321Team 3Execution- ExecutionFIO(1-2) 8/30/20183.50
2987-0321Team 4Admin-AdminN/Aemail,tracker8/30/20180.50
2987-0332Team 5Admin-AdminN/ATracker8/30/20180.50
2987-0332Team 6Execution- ExecutionFIO(1-1) 8/30/20181.00
2987-0332Team 4Execution- ExecutionFIO(1-2) 8/30/20186.50
2987-0342Team 3Execution- ExecutionFIO(1-1) 8/30/20180.50
2987-0342Team 5Execution- ExecutionFIO(1-2) 8/30/20180.50
2987-0321Team 2Admin-Work planN/A 8/30/20182.00
1 ACCEPTED SOLUTION
Anonymous
Not applicable

For example you want to calculate worked hours for Admin-Work plan, you could use this measure:

 

*Measure = 
CALCULATE(SUM(Table[Worked Hours]), FILTER(Table, [Work Category] = "Admin-Work plan"))

You could use the same pattern of this Measure for other calculations. Just use CALCULATE and FILTER.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

For example you want to calculate worked hours for Admin-Work plan, you could use this measure:

 

*Measure = 
CALCULATE(SUM(Table[Worked Hours]), FILTER(Table, [Work Category] = "Admin-Work plan"))

You could use the same pattern of this Measure for other calculations. Just use CALCULATE and FILTER.

Anonymous
Not applicable

What do you want to calculate in particular? Sum of worked hours?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors