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
tangcy123
Helper I
Helper I

How to let amount and count dynamic change by range in slicer

Hi,

I add a slicer for amount range,  increment value =200,  then I add visual for Amount and Count, how to let  Amount and Count dymanic change by range? 

eg: if range = 1400, then display total amount and total count where amount is equal or less than 1400.

if range = 2000, then display total amount and total count where amount is equal or less than 2000.

 

tangcy123_0-1656469601259.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@tangcy123 ,

If you need to filter the amount column

 

Countrows(filter(Table, Table[Amount] <= selectedvalue(whatif[value]) ))

 

Amount m=

calculate( Sum(Table[Amount]), filter(Table, Table[Amount] <= selectedvalue(whatif[value]) ))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@tangcy123 ,

If you need to filter the amount column

 

Countrows(filter(Table, Table[Amount] <= selectedvalue(whatif[value]) ))

 

Amount m=

calculate( Sum(Table[Amount]), filter(Table, Table[Amount] <= selectedvalue(whatif[value]) ))

Thank you very much, it resoved my question😀

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.