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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.