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.
Solved! Go to Solution.
Hi @sajjadansari ,
I want to acknowledge valuable input provided by Poojara_D12 and rohit1991 . Their initial ideas help guide my approach. However, I noticed that more details are needed to fully understand this issue.
We can modify the measure in this way.
Top-20 Recovery =
CALCULATE (
SUM('Aging-Current'[TRecovery]),
FILTER (
VALUES ( 'Aging-Current'[New Buying grp] ),
RANKX ( ALL ( 'Aging-Current'), [TRecovery],MAX('Aging-Current'[TRecovery]), DESC ) <= 20
)
)
Before:
After:
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @sajjadansari ,
I want to acknowledge valuable input provided by Poojara_D12 and rohit1991 . Their initial ideas help guide my approach. However, I noticed that more details are needed to fully understand this issue.
We can modify the measure in this way.
Top-20 Recovery =
CALCULATE (
SUM('Aging-Current'[TRecovery]),
FILTER (
VALUES ( 'Aging-Current'[New Buying grp] ),
RANKX ( ALL ( 'Aging-Current'), [TRecovery],MAX('Aging-Current'[TRecovery]), DESC ) <= 20
)
)
Before:
After:
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dear Mr. v-tangjie-msft
Dear Mr. Poojara,
thnx for your reply, but its not a problem, its a Solution "DAX"
Thnks for understanding.
Dear Mr. Poojara,
thnx for your reply, but its not a problem, its a Solution "DAX"
Thnks for understanding.
Can you please try the below DAX:
Top-20 Recovery =
CALCULATE(
SUM('Aging-Current'[TRecovery]),
FILTER(
VALUES('Aging-Current'[New Buying grp]),
RANKX(
ALL('Aging-Current'[New Buying grp]),
[TRecovery],
,
DESC
) <= 20
)
)
Displaying the Top 20 Groups in a Table
DAX:
Rank =
RANKX(
ALL('Aging-Current'[New Buying grp]),
[TRecovery],
,
DESC
)
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂
Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Please Subscribe my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
hi, you can go ahead and try this:
Top-20 Recovery =
CALCULATE(
SUM('Aging-Current'[TRecovery]),
FILTER(
VALUES('Aging-Current'[New Buying grp]),
RANKX(
ALL('Aging-Current'[New Buying grp]),
[TRecovery],
,
DESC
) <= 20
)
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
12 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |