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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Filtering a Table Based on Slicer Selection in Power BI

Hi Everyone!!!

I have a table with two columns: 'Column1' (text) and 'Column2' (decimal). I also have a slicer based on 'Column1'. How can I use DAX to filter the table in the following way: when a value is selected in the slicer (e.g : 'B'), the table should only show rows where 'Column2' is greater than the selected value?

Table
Column1 Column2
A             100
B              300
C              600
D             200
E              500

 

Output:
Column1 Column2
C              600
E               500

How can we achieve this filtering in Power BI

1 ACCEPTED SOLUTION
olgad
Super User
Super User

Hi @Anonymous , duplicate your table, make sure, there is no relationship between the two tables.

olgad_0-1709817701382.png

Measure = Calculate(Sum(Table[Column2]), Filter(Table, Table[Column2]>SELECTEDVALUE(Slicer[Column2])))

Table is the original Table, Slicer is the same table, disjointed, no relationship

DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

View solution in original post

1 REPLY 1
olgad
Super User
Super User

Hi @Anonymous , duplicate your table, make sure, there is no relationship between the two tables.

olgad_0-1709817701382.png

Measure = Calculate(Sum(Table[Column2]), Filter(Table, Table[Column2]>SELECTEDVALUE(Slicer[Column2])))

Table is the original Table, Slicer is the same table, disjointed, no relationship

DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.