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
Anonymous
Not applicable

Merging Columns using distinct ID number

Hey

I have extracted the table below using the formular stated below, because I want to use the table as a visual;

Active Ticket Table = CALCULATETABLE(Tickets,Tickets[value.statecode@OData.Community.Display.V1.FormattedValue]="Active")

 

As seen in the table there are duplicate data in the Value.TicketNumber, ProjectName & StatusCode, which I could have used remove duplicate data to remove. However, the RequestType column has distinct request Types. 

Value.TicketNumberProjectNameRequestTypeStatusCodeStateCode
2023-IDM-0000001Phone CaseBuilder's linenPending AssignmentActive
2023-IDM-0000002Project SpinoffW&D of ODRWAwaiting DocumentsActive
2023-IDM-0000003DRW-0128YNSCoperate SearchMergingActive
2023-IDM-0000003DRW-0128YNSEasement AccessMergingActive
2023-IDM-0000003DRW-0128YNSBuilder's linenMergingActive
2023-IDM-0000004YU-Jason ProjectEasement AccessPending AssignmentActive
2023-IDM-0000005MP-927-2023EncroachmentAwaiting DocumentsActive
2023-IDM-0000006719-YUGNT-2022Builder's linenMergingActive
2023-IDM-00000072023-Builders ProjectCity-to-City GeneralAwaiting DocumentsActive
2023-IDM-00000072023-Builders ProjectEncroachmentAwaiting DocumentsActive
2023-IDM-0000008Aspen Woods Project 2021Ground TieMergingActive
2023-IDM-0000008Aspen Woods Project 2021City-to-City GeneralMergingActive
2023-IDM-0000009Alpine GroundingBuilder's linenPending AssignmentActive
2023-IDM-0000010Brent JdrainageEncroachmentPending AssignmentActive
2023-IDM-0000011Ground Opening ProjectW&D of ODRWPending AssignmentActive
2023-IDM-0000012City-to-City DroneW&D of ODRWMergingActive
2023-IDM-0000012City-to-City DroneCoperate SearchMergingActive
2023-IDM-0000012City-to-City DroneEasement AccessMergingActive

 

Whih formula can i use to make the Active intakes table appear as seen below please either in the visual or in the table

Value.TicketNumberProjectNameRequestTypeStatusCodeStateCode
2023-IDM-0000001Phone CaseBuilder's linenPending AssignmentActive
2023-IDM-0000002Project SpinoffW&D of ODRWAwaiting DocumentsActive
2023-IDM-0000003DRW-0128YNSCoperate Search,
Easement Access,
Builder's linen
MergingActive
2023-IDM-0000004YU-Jason ProjectEasement AccessPending AssignmentActive
2023-IDM-0000005MP-927-2023EncroachmentAwaiting DocumentsActive
2023-IDM-0000006719-YUGNT-2022Builder's linenMergingActive
2023-IDM-00000072023-Builders ProjectCity-to-City General,
Encroachment
Awaiting DocumentsActive
2023-IDM-0000008Aspen Woods Project 2021Ground Tie,
City-to-City General
MergingActive
2023-IDM-0000009Alpine GroundingBuilder's linenPending AssignmentActive
2023-IDM-0000010Brent JdrainageEncroachmentPending AssignmentActive
2023-IDM-0000011Ground Opening ProjectW&D of ODRWPending AssignmentActive
2023-IDM-0000012City-to-City DroneW&D of ODRW,
Coperate Search,
Easement Access
MergingActive

 

Thank you in advance for your help

1 ACCEPTED SOLUTION
Anonymous
Not applicable
4 REPLIES 4
Anonymous
Not applicable

parry2k
Super User
Super User

@Anonymous your reply didn't help? How I will know what is not working? Are you getting the wrong result or blank or error? How I expect to provide the answer without knowing what is not working?  



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@Anonymous add a measure for Request Type and then use this measure in the table visual along with other columns:

 

Request Type = 
CONCATENATEX ( FILTER ( 'Table', 'Table'[StateCode] = "Active" ), [RequestType], ",")


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Thanks but this did not work. I would expect that the formula would use the ticket number as a distinct identifier to concatenate the Request Types. Please can you provide another formula

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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