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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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