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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Sri_phani
Helper III
Helper III

Quartile Calculation - Incorrect values

Hi, 

 

I am trying to show the month-on-month Quartiles for the metric called Resolve. Below is the measure I am trying to use, when the single month is selected the result seems to be accurate but when we remove the month filter then results are not accurate.  

 
Can you please help me with this. 
 
Res% Quartile =
VAR AgentScore = [Resolve]
VAR FilteredData_1 = ALLSELECTED('1_Core Raw data'[Start of Month],'1_Core Raw data'[Final Team manager])
VAR Result_1 =    
IF(NOT ISBLANK(AgentScore),SWITCH(
        TRUE(),
        AgentScore >= PERCENTILEX.INC(FilteredData_1, [Resolve], 0.75), "Q1",
        AgentScore >= PERCENTILEX.INC(FilteredData_1, [Resolve], 0.50), "Q2",
        AgentScore >= PERCENTILEX.INC(FilteredData_1, [Resolve], 0.25), "Q3",
        AgentScore >= PERCENTILEX.INC(FilteredData_1, [Resolve], 0), "Q4"))
RETURN
Result_1

 

Sri_phani_0-1720885729749.png

 

Thank!

1 ACCEPTED SOLUTION

Issue is resolved one of my friend helped me with Filter function. 

 

FilteredData_1 = FILTER(ALLSELECTED('1_Core Raw data'[Start of Month],'1_Core Raw data'[agent_email],'1_Core Raw data'[Final Team manager]),'1_Core Raw data'[Start of Month]=SELECTEDVALUE('1_Core Raw data'[Start of Month]))

View solution in original post

2 REPLIES 2
Sri_phani
Helper III
Helper III

This is the sample result that I am looking for, 

Sri_phani_1-1720886418965.png

 

 

Issue is resolved one of my friend helped me with Filter function. 

 

FilteredData_1 = FILTER(ALLSELECTED('1_Core Raw data'[Start of Month],'1_Core Raw data'[agent_email],'1_Core Raw data'[Final Team manager]),'1_Core Raw data'[Start of Month]=SELECTEDVALUE('1_Core Raw data'[Start of Month]))

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.