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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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