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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jpchen
Frequent Visitor

Can't sum (measure) selected parameters

Hello,

 

Need some help here.

 

I need to calculate top 10 Account Receivables amounts based on user selection.

 

For that, I created the below What-if Parameters and used it for "Selectable" Ranking (rank amounts from top to lowest value).

 

What-if Parameters

jpchen_1-1666170262968.pngjpchen_2-1666170278801.png

 

I created another measure to calculate Sum of Amount which users can select ranking (say top 10 amounts).

 

jpchen_6-1666170488035.png

 

Rank (measure)

jpchen_3-1666170299192.png

 

The result

jpchen_8-1666170923044.png

 

However, when I tried to Sum "only selected Parameter" (say only sums top 10 AR), my measure is not working.

 

jpchen_4-1666170322997.png

 

Not sure if this is a Power BI issue or my DAX is wrong.

 

My data structure:

jpchen_0-1666170181290.png

 

Any help will be appreciated. Thanks in advance.

1 ACCEPTED SOLUTION
1 REPLY 1

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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