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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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