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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
sswah
New Member

Filtering of table values/rows based on a dax measure value

Currently I have a table of values

 for .e.g

 

Column AColumn B
aaaa0
bbbb1
ccccc2
ddddd3

 

And I also have a DAX Measure (Measure AA) that returns a single value of a number for e.g. 2 . This number will change accordingly based on certain formula of clicking on various other charts on the dashboard 

 

My challenge now is , how do i filter the table on top, to only display all records where column B is less than or equal to <Measure AA>. I tried to create a calculated column to return true/false based on each row , to give me if it's less or equal to <Measure AA> but it gave an error that it must be aggregated .

 

1 ACCEPTED SOLUTION
Gabry
Super User
Super User

I think you could do this with a measure:

 

filtermeasure = if(selectedvalue(columnb)<=<Measure AA>,1,0)

 

Then put this measure on the filter pane and select = 1

View solution in original post

2 REPLIES 2
sswah
New Member

Thanks!

Gabry
Super User
Super User

I think you could do this with a measure:

 

filtermeasure = if(selectedvalue(columnb)<=<Measure AA>,1,0)

 

Then put this measure on the filter pane and select = 1

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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