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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
24601
Frequent Visitor

Measure to Identify Two Matching Values in Same Table

Hi, I've searched for something to help with me this but haven't quite found the answer so hopefully I can get some guidance here. 

Below is a very simple mockup of my situation. 

There is one instance where the Item ID has the same Reason For Return on both occasions, #1. 

Item ID Reason For Return
1 Faulty
2 Bought in Error
3 Bought in Error
4 Bought in Error
5 Replacement
6 Bought in Error
7 Bought in Error
8 Bought in Error
9 Faulty
1 Faulty
2 Replacement
3 Faulty


I am looking for a measure that will give me a count the number of instances like this which will also be used as a filter. 

I am currently using a calculated column to concatente and then a measure to count the instances where there is more than one occurance of that concatenation. So, "1Faulty" would return 2 whereas everything else would return a 1.

Any help would be appreciated.

Thanks

3 REPLIES 3
tamerj1
Super User
Super User

@24601 
Yes this is possible. But I need more details:

  1. Provide detailed discription of your original report that contains the measures to be compared. What are you slicing by in this report (the column on the rows of the matrix). What is the code of your measures.
  2. The structure of your data: Tables, relationships and invloved columns.
  3. Detailed explanation of the 2nd report that need to be filtered and the expected results.

Thank you and have a great day!

tamerj1
Super User
Super User

Hi @24601 

can you please clarify further what do you exactly mean by "I am looking for a measure that will give me a count the number of instances like this which will also be used as a filter." Do you mean to use the measure as slicer for example? Can you please provide sample of the expected results and the detais of your report visual. 

24601
Frequent Visitor

Hi @tamerj1 

Sorry if I was not clear with my query.

I am looking to identify when two data in two columns match but in a measure rather than a calculated column and to use it for two purposes.
1) To use in a card to give a view of the total of instances 
2) To be used in a table as a filter to identify orders that have duplicate Reasons for Return.

Unfortunately, I cannot provide a visual of what I would like this to look like that moment. 

I hope I've explained myself better this time. 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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