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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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