Showing results for 
Search instead for 
Did you mean: 
New Member


I Have the following query. I would like to calculate the average of 1st attempt of the column KPI EXIT. The thing is, every row has a diferent date like 1-01-2017. How can I get the average per month up to the date I want. problem forum.JPG





Hi @pbi1,


The [KPI EXIT] is a text column, how to calculate the average for "1st attempt"?


Based on my assumption, you want to calculate based on an other numeric field per month, right? If so, please create a column similar to below:

Average=CALCULATE(AVERAGE(TableName[Numeric Column]), FILTER(ALLEXCEPT(TableName,TableName[Date].Month), TableName[KPI EXIT]="1ST ATTEMPT"))


If I have something misunderstood, please provide more detailed data and show us your desired result.


Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.