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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sirlanceohlott
Advocate III
Advocate III

Interviews Calculation

Good afternoon, 

 

I'm running into a roadblock with a measure and I thought I'd see if anyone else can help me figure out what is happening.

 

The actual number of Interviews Scheduled for 12/1/2019 - 12/7/2019 is 17, but when I place this measure in the report it only shows 12

 

 

 

Total Interviews Scheduled = 
SUMX(
    SUMMARIZE(HI_Interview_Scheduled_BI_DIM,HI_Interview_Scheduled_BI_DIM[jobOrderID],HI_Interview_Scheduled_BI_DIM[candidateID]),
    CALCULATE(COUNT(HI_Interview_Scheduled_BI_DIM[candidateID]))
) + 0

 

 

 

I thought I'd throw everything into a table to make sure I could see what exactly was happening and this is what I saw...

 

Table Example_2.PNG

 

I'm seeing it is not counting some of the interviews.

 

I appreciate your help in figuring out what I should do and what the best practice moving forward for this type of issue would be.

 

Thank you,

Lance M

 

 

1 ACCEPTED SOLUTION
CoreyP
Solution Sage
Solution Sage

If I'm looking at your data correctly, should your interview scheduled column just be: 

 

Interview Scheduled = IF( 'Table'[Type of Submission] = "Interview Scheduled" , 1 , 0 )

 

Then your measure would just be:

Total Interviews Scheduled = SUM( 'Table'[Interview Scheduled] )

 

Or simplify and just have a measure like this:

Total Interviews Scheduled = CALCULATE( COUNTROWS() , 'Table'[Type of Submission] = "Interview Scheduled" )

 

??

View solution in original post

2 REPLIES 2
CoreyP
Solution Sage
Solution Sage

If I'm looking at your data correctly, should your interview scheduled column just be: 

 

Interview Scheduled = IF( 'Table'[Type of Submission] = "Interview Scheduled" , 1 , 0 )

 

Then your measure would just be:

Total Interviews Scheduled = SUM( 'Table'[Interview Scheduled] )

 

Or simplify and just have a measure like this:

Total Interviews Scheduled = CALCULATE( COUNTROWS() , 'Table'[Type of Submission] = "Interview Scheduled" )

 

??

@CoreyP ,

 

I took a deeper look into the relationship view to see if there was an issue and I was able to find where the kink was, but I appreciate the simplified formula that I'll definitely keep in my back pocket for the future as I did plug it in to my model to see what would transpire.

 

Have a great Wednesday!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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