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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mcole95
New Member

Filtering Data by mismatches between two columns

Hello,

I'll start by saying that I'm not a data analyst or a developer, I'm just an employee trying their best with totally new software. I've done my best to research what I can but I have not been able to find a way to sort my data in an efficient way.

 

For context, our IT department was able to create a PowerBi report that pulls the data for individual files in our system daily. The purpose of this report is to find mismatches between data points in our software and our federal reporting software so that we can go in and manually reconcile the two data points so that they match.

 

So we have separate columns, one column for what our software has and another column for what the federal reporting software is showing for the same item. The only problem is the report is not filtering out the files where there are no mismatches. Is there a way that I can visualize the data or just filter the data so that it only shows me the files where two points that I select do not match?  Please see below for a bit more clarification about what I mean.

 

I would like to find a way to filter the data so that only the items below that don't match are visible.

 

Thank you for any help in advance

 

37.29737.297
039.069
00
26.03426.034
029.91
45.4245.42
028.229
39.07739.077
039.589
057.84
030.906
036.817
31.29631.296
38.85138.851
1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @mcole95 

 

Are these two columns in the same table currently? If they are in the same table, you can add a new column to compare them and return a result 1 (match) or 0 (not match). 

vjingzhang_0-1670483025178.png

Then add this column as a filter, set it to show items when the value is 0 (not match). In this way, all data is imported into the data model. Matching items are only invisible from the report. 

vjingzhang_1-1670483164233.png

 

If you don't want to import matching items into the data model, you can filter them out with Power Query Editor. Click "Transform data" to open Power Query Editor, add a conditional column to compare column1 with column2 and return 1 or 0. Then filter by result column to have rows with 0. In this way, only not-matching items will be imported into your report.  

vjingzhang_2-1670483512827.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @mcole95 

 

Are these two columns in the same table currently? If they are in the same table, you can add a new column to compare them and return a result 1 (match) or 0 (not match). 

vjingzhang_0-1670483025178.png

Then add this column as a filter, set it to show items when the value is 0 (not match). In this way, all data is imported into the data model. Matching items are only invisible from the report. 

vjingzhang_1-1670483164233.png

 

If you don't want to import matching items into the data model, you can filter them out with Power Query Editor. Click "Transform data" to open Power Query Editor, add a conditional column to compare column1 with column2 and return 1 or 0. Then filter by result column to have rows with 0. In this way, only not-matching items will be imported into your report.  

vjingzhang_2-1670483512827.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Thank you so much! This looks like exactly what I need.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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