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
Hi All,
Thanks in advance for your time.
What I am trying to do:
Sample Data:
ID | Project Name |
001 | Cloud enhancements |
002 | Cloud enhancements version 2 |
003 | Cloud enhancements version 3 |
Expected result:
When i display the result in a table, I expect to see the project name "Cloud enhancements". This is the original name of the project.
thank you.
Solved! Go to Solution.
@Deevo_ I hope this hepls you!THANK YOU!!
Thank you so much, this worked a treat. I modified your DAX slightly to pick the Earliest ID number instead of manually typing it in as I have multiple different projects.
I replaced " 'Table (2)'[ID] = 001 " with "MIN([ID])".
You have made my day !!!! Thanks once again
@Deevo_ I hope this hepls you!THANK YOU!!
Hi Mahesh0016,
I have come to realise that replacing 'Table (2)'[ID] = 001 " with "MIN([ID])" does not work. I believe its because I have not specified in the DAX how to group the projects together. The piece of data missing from my Example is the "Project Code (Level 1 & ChangeID)" and the "Project Code Level 1".
The updated Sample date looks like this:
Sample Data:
Project Code (Level 1 & ChangeID) | Project Code Level 1 | ChangeID | Project Name | Expected Result |
P-1234-001 | P-1234 | 001 | Cloud enhancements | Cloud enhancements |
P-1234-002 | P-1234 | 002 | Cloud enhancements version 2 | Cloud enhancements |
P-1234-003 | P-1234 | 003 | Cloud enhancements version 3 | Cloud enhancements |
P-4321-001 | P-4321 | 001 | Node Upgrade | Node Upgrade |
P-4321-002 | P-4321 | 002 | Node Upgrade version 2 | Node Upgrade |
P-4321-003 | P-4321 | 003 | Node Upgrade version 3 | Node Upgrade |
Question:
Can you please help me to revise your DAX solution to Group by the "Project Code level 1" and then choose the "Project Name" of the earliest "ChangeID"?
Expected result:
Many thanks
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
15 | |
7 | |
6 |
User | Count |
---|---|
33 | |
29 | |
16 | |
13 | |
12 |