Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello , i am new to the community and kinda new to power bi .
I am trying to rank a column(client) based on a measure that i created ( hc fac value) , and to that measure i added rand(hc fac value rand) , to not have any equal values, but the rank is showing as if it exists equal values , i am really struggling..
Can someone help me out please?
Solved! Go to Solution.
Hi @devesqdeves ,
I assume that you have an ID for each of your client if not please create one with the client number (must be unique values) then add the following measure:
Rank_Without_Duplicates =
IF (
HASONEVALUE ( Client[Cliente] )
&& [HC FAC Value] > 0;
RANKX (
ALL ( Client[Cliente] );
(
CALCULATE ( [HC FAC Value] )
+ INT ( CALCULATE ( MIN ( Client[Client ID] ) ) ) / 100000
)
)
)
Check result attach.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português@devesqdeves , You have to add Rand() in Rank (Measure Rank)
Rank(Table,formula) +rank()/1000
Thanks for the input ! But it is not working yet :c
it shows like this
my rank measure =
Hi @devesqdeves ,
I assume that you have an ID for each of your client if not please create one with the client number (must be unique values) then add the following measure:
Rank_Without_Duplicates =
IF (
HASONEVALUE ( Client[Cliente] )
&& [HC FAC Value] > 0;
RANKX (
ALL ( Client[Cliente] );
(
CALCULATE ( [HC FAC Value] )
+ INT ( CALCULATE ( MIN ( Client[Client ID] ) ) ) / 100000
)
)
)
Check result attach.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsIt worked !! Thanks !!
Hi @devesqdeves ,
Don't forget to mark the correct answer to help others.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsMarch 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
133 | |
76 | |
53 | |
38 | |
37 |
User | Count |
---|---|
203 | |
81 | |
71 | |
55 | |
48 |