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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
CEvange
Frequent Visitor

How to get the value at 75th percent based on multiple measures

Can someone please help me create a measure to get a specific value based on multiple measures?

 

In the table below based on my Index, I need to get the equivalent Rolling30D with SI value sitting at the 75th percentile.

For the sample data below, 75% of 41  would be 31 so I need to be able to retrieve the value 124.

 

CEvange_2-1707803942271.png

I tried creating a measure myself which I've called Trigger Line however it gives me multiple rows, I just need a single number.

*Trigger Line = VAR _k = 0.25
VAR SUMMARY =
FILTER(ADDCOLUMNS(
    SUMMARIZE('Date','Date'[Date]), "'Rank'[@value]",[* Rolling30D with SI],"'Rank'[Rank2]",[*Index]),
    NOT ISBLANK('Rank'[Rank2]))
    RETURN
    PERCENTILEX.INC(SUMMARY, 'Rank'[@value], _k)

 

In the table above, the trigger line should only show the value of 124 for all the rows. How can I achieve this?

 

3 REPLIES 3
CEvange
Frequent Visitor

Index is also a measure

*Index = IF(ISINSCOPE('Date'[Date]), IF(NOT ISBLANK([* Rolling30D with SI]), RANKX(ALLSELECTED('Date'),[* Rolling30D with SI] + DIVIDE(RANKX(ALLSELECTED('Date'), [*12M SI]), (COUNTROWS(ALL('Date')) + 1)),,DESC,Dense)))
Anonymous
Not applicable

HI @CEvange,

You cna try to use the following measure formula if it suitable for your requirement:

formula =
VAR summary =
    SUMMARIZE (
        ALLSELECTED ( 'Date' ),
        'Date'[Date],
        "Rolling30D", [* Rolling30D with SI],
        "Index", [*Index],
        "TL", [*Trigger Line]
    )
VAR percent = 0.75
VAR target =
    ROUNDUP ( percent * COUNTROWS ( summary ), 0 )
RETURN
    MAXX ( FILTER ( summary, [Index] = target ), [TL] )

Regards,

Xiaoxin Sheng

Hi @Anonymous , 

I tried the measure you provided unfortunately it just came up as blank.

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Users online (27)