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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Sri_phani
Helper III
Helper III

Show % of agents exceeded target in Graph Weekly and Daily

Hello, 

 

I have to show the % of agents exceeded the target >55. The dataset consists of agent's day wise NPS score and out of which I have created a measure to calculate the score - Divide(Total score, Number of survey received). Now I have to show the number of agents exceeded score more than 55% on weekly and daily basis. 

 

I tried the below DAX  

COUNTAX(FILTER(TABLE_NAME,'TRUE/FALSE COLUMN'=TRUE()),'TRUE/FALSE COLUMN') - using True or False helper column.  

CALCULATE(DISTINCTCOUNT(Agent column, FILTER('TABLE', 'TABLE'[Score]>=0.55))

 

Both of them are showing the wrong number. While the helper column which is created using IF function is showing correctly week over week when added to table to see if score exceeded the target. 

Help me with a solution for getting the % of agents exceeded the target. 

Sri_phani_0-1711296450205.png

 

Graph looking for - True/(True+False): 

 

Sri_phani_1-1711295325138.png

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file whether it suits your requirement.

 

Jihwan_Kim_0-1711304329064.png

 

 

exceed target agent count per week: =
DIVIDE (
    COUNTROWS (
        FILTER (
            SUMMARIZE ( data, data[agent] ),
            CALCULATE ( SUM ( data[score] ) ) >= 0.55
        )
    ),
    COUNTROWS ( SUMMARIZE ( data, data[agent] ) )
)

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

2 REPLIES 2
Sri_phani
Helper III
Helper III

Thank you for your response. You helped me a lot.

 

I have used Score measure which I created inside the Calculate function and I got the result. Thank you once again.  

Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file whether it suits your requirement.

 

Jihwan_Kim_0-1711304329064.png

 

 

exceed target agent count per week: =
DIVIDE (
    COUNTROWS (
        FILTER (
            SUMMARIZE ( data, data[agent] ),
            CALCULATE ( SUM ( data[score] ) ) >= 0.55
        )
    ),
    COUNTROWS ( SUMMARIZE ( data, data[agent] ) )
)

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.