March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have created several measures to compare two reports and return "Matched" or "Unmatched" (my columns) for employee records to quickly identify which records may have a first name, title, etc. that doesn't match the other report.
This allowed me to create a table with all the values. I now want to create a formula/column that says "Yes" if any column in that row says "Unmatched", so I filter out rows where every data point matches and I can focus only on those that have an issue.
Solved! Go to Solution.
I think you're trying to create a new measure. Instead of a new measure, hit new column.
You were right. Thank you so much! A column worked.
Easiest way I can think to do this would be to go back and replace Matched and Unmatched with 0 and 1. Then just sum all the columns and if anything is >0, you know it doesn't match.
I just tried but my measures are IF statements (if match 0, if not 1) so it's not working to use SUM or Calculate. Any other thoughts?
You're using calculated columns for your matches. It still returns a 0 or 1, you just need to add them. So create another calculated column with all your matches specified (just use +)
Column 3 = 'Table'[Column]+'Table'[Column2]
They aren't popping up as a choice for me and error out when I manually type them in. They aren't columns I created in the data set, they're measures I created. I might have to retool it to be actual columns?
You shouldn't need to mess with the actual columns (although that may be easier and less resource intensive!)
What you sent shows that they're calculated columns built using DAX. You should have no problem creating another calculated column to add them together?
If you're trying to create the sum column as a measure, you'll need to do it a bit differently but a column should be fine.
I need to sum across the rows, not down the columns.
The goal is to know if any one of the many columns has a match problem, and then only show those rows instead of the thousands that may all match on every column.
That is the solution I'm giving you. In my screenshot, column3 sums across the rows. You can use column3 to filter the rest of your data.
I put together another example..
Currently, your data looks like this based on what you've posted after reworking it to be 0 and 1
What we will do now is create a column to sum all of these columns. In this randomly generated data, only 1 row would be correct (highlighted)
In turn, I'd filter it out to only see the ones I want to focus on
I'm totally with you on the solution, but I cannot figure out why PBI will not let me select the measures I created. The ones that pop up are not the ones I need and when I manually type in the ones I need, it won't work. Using Sum only lets me select one and not several measures.
I think you're trying to create a new measure. Instead of a new measure, hit new column.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
115 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |