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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RossBateman
Helper I
Helper I

Filtering a table by a measure

Hello

I have two tables included in a visual and what I need it to show is any invoices in one table that are not in the other. I created a measure to subtract the toal in one table by the total in the other and just need to filter to exclude any rows where the total of that measure is zero but cant seem to work it out. Any help would be appreciated, I'll add a screenshot below.

RossBateman_0-1617193127850.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi  @RossBateman  ,

This is my scenario:

v-yangliu-msft_0-1617693934770.png

Here are the steps you can follow:

1. Create calculated column.

flag =
IF('Table'[Measure]=0,1,0)

2. Place Flag in Filter, select Flag is = 0, app filter

v-yangliu-msft_1-1617693934794.png

3. Result:

v-yangliu-msft_2-1617693934796.png

You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Jihwan_Kim
Super User
Super User

Hi, @RossBateman 

Please try to use the function, EXCEPT in your DAX measure.

For instance,

EXCEPT (table1, table2) -> the result is the table that shows the information only in the table1.

 

If it is OK with you, delete the important data, and please share your sample pbix file. Then I can try to come up with more accurate measures.

 

Thank you.

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
RossBateman
Helper I
Helper I

RossBateman_0-1617193192426.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors