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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ejordan95
New Member

Building visualizations - linking turnover data tables

Hi all, 

 

I'm stuck.  

 

BACKGROUND:

I'm building out a visual, that shows the # of job requisitions that were open every month.  This is NOT the number of jobs whose open data was in any given month.  

 

I have a data set with open date, close date, job level, location, recruiter, and job requisition ID.  

I have a seperate table with columns titled Month and "count of open requsitions".  

 

The formula in excel in each row next to the corresponding month is: =COUNTIFS(Table4[Requisition Requisition Open Date],"<="&[@Month],Table4[Requisition Requisition Close Date],">"&[@Month])+COUNTIFS(Table4[Requisition Requisition Open Date],"<="&[@Month],Table4[Requisition Requisition Close Date],"")

 

This gets me all jobs that have an open date on or before (ex.) 01/31/2021, with a close date after 01/31/2021 AND all jobs that have an open date on or before 01/31/2021 and have a close date that is blank.  

 

THE ISSUE: 

 

In excel, I can obviously make a visual with the month/ count table and get me what I need (vis. below).  However, I cannot add slicers for recruiter, job level, or location.  It filters the original data set but the calculations are not counting the subtotal, so the table with calculations does not update.  

 

What I need is in PowerBI (since we're moving the dashboard over there,) to create the same visual, but somehow link (?) the two tables so that when we use the slicers it affects the calculated table so the chart reflects the filter.  

e.g.  # of jobs that were open on any given month for job level 6.  

 

ejordan95_0-1630443984045.png

 

I am extremely open to suggestions and appreciate any support you can give, articles or guidance from your own minds would work well! 

 

(hope this makes sense!) 

Best, 

 

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hi @ejordan95 ,

 

Using SELECTEDVALUE() function you could get the selected value in the slicer and you could add it to the formula.

If you want us to help with the DAX formula, please share some sample data and excepted result.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523 

 

Best Regrads,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@ejordan95 , with two date like open and close same like a similar problem like HR

 

See if this blog can help https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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 MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.