Reply
mpheelee
New Member
Partially syndicated - Outbound

PercentRank below a fixed value

Hello,

I'm looking for a formula that will allow me to identify the % turnaround times for a CT Scan that are below a fixed time such as 120 minutes.  Percentrank.inc(array, 120) works in excel.  

 

Has anyone found an equivalent in Power BI?

 

Thanks!

2 REPLIES 2
v-aatheeque
Community Support
Community Support

Syndicated - Outbound

Hi @mpheelee ,
Thanks for reaching out to Microsoft Fabric Community Forum.
In Power BI, you can use DAX to calculate the percentage of turnaround times below a fixed value like 120 minutes. 
DAX: 
CT Scan % Turnaround Rank = 
VAR CurrentValue = MAX('CT Scans'[Turnaround Time])
RETURN
1 - DIVIDE(
    RANKX(ALL('CT Scans'), 'CT Scans'[Turnaround Time], , ASC),
    COUNTROWS(ALL('CT Scans'))
)

If you still persists the issue @Ashish_Mathur  please share the sample data for more insights.

If this post was helpful, please consider marking Accept as solution to assist other members in finding it more easily.

If you continue to face issues, feel free to reach out to us for further assistance!


Ashish_Mathur
Super User
Super User

Syndicated - Outbound

Hi,

Share some data to work with and show the expected result.  Share data in a format that can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
avatar user

Helpful resources

Announcements
FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)