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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
i820017
Resolver II
Resolver II

Dividing Columns in Multiple Tables

I am trying to create a new column entitled 'Analyst Daily Average'.

To get this column, you have to use the calculation: (Number of P&Ps Completed) / (Days Worked). 

 

(Number of P&Ps Completed) = 

CALCULATE(
COUNT('Procedure Request Form'[ID]),
FILTER('Procedure Request Form', 'Procedure Request Form'[Ticket Status] = "Cancelled" || 'Procedure Request Form'[Ticket Status] = "Closed"))
 
(Days Worked ) = 
( ProceduresTeamReporting[Hrs_Worked] - ProceduresTeamReporting[NonProduction_Time_Hrs] ) / 8
 
 
(Number of P&Ps Completed) is a measure, and (Days Worked) is a column as seen below.



The 2 tables are ProceduresTeamReporting and Procedure Request From
 
 
Can the beginning calculation be done?
1 ACCEPTED SOLUTION

I figured it out using MAX...thanks though!!

View solution in original post

2 REPLIES 2
TheoC
Super User
Super User

Hi @i820017 

 

Are the two tables related through an Analyst ID or something of the like?  If so, you should be able to achieve this.

 

Please feel free to provide dummy data if you'd like further assistance.


Thanks heaps!

Theo

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

I figured it out using MAX...thanks though!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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