cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
OobuJoobu
Frequent Visitor

Trying to filter a table where a value is greater than a measure from a different table

I have a Table visual, which is made up from various items in 2 data tables. The tables are joined by a one to many relationship in a particular field.

 

Relevant Data:

Table called "ReqTracker" has a numeric whole number value called "Ask"

Table called "Tracker" has a measure called "CountAll"

 

I want to only show rows in my table visual where the Ask value is greater than the CountAll value for that particular row.

 

How could I do this please?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@OobuJoobu , You have to create a measure like

 

if(sum(Table[Ask]) >= [CountAll] ,1,0)



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@OobuJoobu , You have to create a measure like

 

if(sum(Table[Ask]) >= [CountAll] ,1,0)



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Perfect, thank you!

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors