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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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