Showing results for 
Search instead for 
Did you mean: 
fiveone Helper II
Helper II

Level measure

I have been banging my head on the wall for hours trying to calculate a level metric.

The business context is CVs that need to be sent to customers within 3 days upon reception of a resource request.

The table contains resource requests, the related IDs of the CV that were sent and the date they were sent.

For each resource request I need to calculate the ratio of CVs that were sent within 3 days vs the total number of CVs.

I am able to assess the CV Submission Delay Compliance, no problem.


CV Submission Delay Compliance =


But I am unable to get the unfiltered total number of CVs for a given Request.

I looked into ALL, SUMMARIZE, SUMX, COUNTX but have not been able to assemble  those in an intelligent way.


The following seems to be giving me the grand Total of CVs, whatever the filtering.

Total number of CVs = COUNTX(ALL('Staffing DATABASE'[REQUEST ID]; 'Staffing DATABASE'[CV ID]);'Staffing DATABASE'[CV ID]) 

but what I want is the total of CVs PER REQUEST ID


Microsoft v-caliao-msft

Re: Level measure

Hi @fiveone,


You could use ALLEXCEPT function to achieve this requirement. Removes all context filters in the table except filters that have been applied to the specified columns.


If this is not what you want, please provide us some sample data and elaborate your expected result, so that we can make further analysis.



Charlie Liao

Helpful resources

New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors