Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi @srikant,
Did you use the formula like this in Excel?
=PERCENTRANK.EXC(H2:H13,H2)
We can create a calculated column as below to work on that in Power BI desktop.
Column = VAR _ROW1 = CALCULATE(COUNTROWS(Table1),Table1[a]<=EARLIER(Table1[a])) VAR _ROW2 = CALCULATE(COUNTROWS(Table1),ALL(Table1)) RETURN _ROW1/_ROW2
For more details, please check the pbix as attached.
Regards,
Frank
Where are the %'s coming from?
The above screenshot is of Excel sheet where I percentrank.exc function to calculate percentile and the values that I got were between 0.1to 1.0 then I converted these number to percentages
OK, so your source data is like you show below and you want to do what with it? I don't understand the issue I guess.
My source data is column a, just with the numbers and column b shows percentile values of each number in column a. I have been trying to do the same in powerbi but it is not happening
Hi @srikant,
Did you use the formula like this in Excel?
=PERCENTRANK.EXC(H2:H13,H2)
We can create a calculated column as below to work on that in Power BI desktop.
Column = VAR _ROW1 = CALCULATE(COUNTROWS(Table1),Table1[a]<=EARLIER(Table1[a])) VAR _ROW2 = CALCULATE(COUNTROWS(Table1),ALL(Table1)) RETURN _ROW1/_ROW2
For more details, please check the pbix as attached.
Regards,
Frank
according to your example I want to made this percentile formula dynamic as measure.
from picture below i want to create a measure to show percentile of each branch_name base on principle they ve made.
Now i ve noidea what to do. thanks
Yeah, I used percentrank.exc formula
Hi @srikant,
Did you try the way as I shared?
Regards,
Frank
Hi @srikant ,
Does that make sense? If so, kindly mark my answer as the solution to close the case please. Thanks in advance.
Regards,
Frank
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |