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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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]) ))

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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]) ))

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you very much, it resoved my question😀

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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