Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Having trouble in creating a measure to count the first time occurrences against unique response IDs.
Using the data below, creating a measure to count how may times the different unique Response Results appeared as the first Request Response ID for a Request ID.
Example of some data,
TableA
The final result should be,
Pleased = 1
Displeased = 1
Hold = 2
The logic i'm trying to achieve, using "Hold" as the example,
distinct(Request ID),
min(Request Response ID)
distinctcount(Response Result = "Hold")
Solved! Go to Solution.
certainly, can do that,
| Request ID | Request Response ID | Response Date | Response Result |
| 2001 | 4001 | 1/02/2020 9:00:00 AM | Hold |
| 2001 | 4002 | 1/02/2020 9:20:00 AM | Pleased |
| 2002 | 4003 | 3/02/2020 9:00:00 AM | Pleased |
| 2004 | 4004 | 3/02/2020 9:00:00 AM | Hold |
| 2004 | 4005 | 3/02/2020 9:20:00 AM | Hold |
| 2004 | 4006 | 3/02/2020 9:30:00 AM | Hold |
| 2004 | 4007 | 3/02/2020 9:40:00 AM | Hold |
| 2004 | 4008 | 3/02/2020 9:50:00 AM | Displeased |
| 2005 | 4009 | 5/02/2020 8:00:00 AM | Displeased |
Hi,
You may download my PBI file from here.
Hope this helps.
Hi,
You may download my PBI file from here.
Hope this helps.
You are welcome.
Hi @CoreyBi17
Can you share a sample of your data in a table format to be able to copy and past that?
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
certainly, can do that,
| Request ID | Request Response ID | Response Date | Response Result |
| 2001 | 4001 | 1/02/2020 9:00:00 AM | Hold |
| 2001 | 4002 | 1/02/2020 9:20:00 AM | Pleased |
| 2002 | 4003 | 3/02/2020 9:00:00 AM | Pleased |
| 2004 | 4004 | 3/02/2020 9:00:00 AM | Hold |
| 2004 | 4005 | 3/02/2020 9:20:00 AM | Hold |
| 2004 | 4006 | 3/02/2020 9:30:00 AM | Hold |
| 2004 | 4007 | 3/02/2020 9:40:00 AM | Hold |
| 2004 | 4008 | 3/02/2020 9:50:00 AM | Displeased |
| 2005 | 4009 | 5/02/2020 8:00:00 AM | Displeased |
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.