This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi guys,
Needing some help trying to make a measure to identify when a name in one column is linked to two separate values in another.
I want to quantify when an Agent both receives and processes a contract for the same business. I have tried creating a column but it doesn't seem to work because the values in "type of change" are in the same column Here is my data:
| Date | Business | Type of Change | Name of Agent |
| 12/10/20 | Joe's Auto | Contract Received | James |
| 12/10/20 | Joe's Auto | Contract Received | James |
| 12/10/20 | Jack's Salon | Contract Received | James |
| 12/10/20 | Jack's Salon | Contract Activated | Helen |
Can anyone help me?
Solved! Go to Solution.
@Anonymous , Did no see ant processed row.
You need to have column like
if(calculate(distinctcount(Table[Type of Change]), filter(Table, [Name of Agent] = earlier([Name of Agent]) && [Type of Change] in {"Received","processes"}
&& [Date] = earlier([Date]))) =2, 1,0)
@Anonymous , Did no see ant processed row.
You need to have column like
if(calculate(distinctcount(Table[Type of Change]), filter(Table, [Name of Agent] = earlier([Name of Agent]) && [Type of Change] in {"Received","processes"}
&& [Date] = earlier([Date]))) =2, 1,0)
Sorry, I actually realised this is not the solution.
I meant to say I need to find usernames who have both Contract Received and Contract Activated.
I tried to adjust the column but the results returned do not correctly show Business names where both the same agent received and activated the contract
Thank you 🙂
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 61 | |
| 36 | |
| 29 | |
| 22 | |
| 21 |