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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Merge two queries help

Have a twofold question on merging queries.

I have two ADO orgs that I can pull data down in separate reports easy enough. The unique ID in each ORG is called WorkItemID, the other columns may or may not have duplicate entries but WorkItemID is always unique for sure.

My first question is this:

1. If the data pulled down is different, as in some column names don't match (eg. one org has extra columns than the other) is there a merge function that will simply combine the tables and columns into one?

2. Is there an alternative to merging? I tried a function call but one of the orgs is missing data and I cannot figure out why.

 

What's the best way to do this?

 

sample table entries from each

ORG2

Column Name Description Calculated Column Expression

WorkItemId   
InProgressDate   
CompletedDate   
LeadTimeDays   
CycleTimeDays   
InProgressDateSK   
CompletedDateSK   
AnalyticsUpdatedDate   
ProjectSK   
WorkItemRevisionSK   
AreaSK   
IterationSK   
AssignedToUserSK   
ChangedByUserSK   
CreatedByUserSK   
ActivatedByUserSK   
ClosedByUserSK   
ResolvedByUserSK   
ActivatedDateSK   
ChangedDateSK   
ClosedDateSK   
CreatedDateSK   
ResolvedDateSK   
StateChangeDateSK   
Revision   
Watermark   
Title   
WorkItemType   
ChangedDate   
CreatedDate   
State   
Reason   
FoundIn   
IntegrationBuild   
ActivatedDate   
Activity   
BusinessValue   
ClosedDate   
Issue   
Priority   
Rating   
ResolvedDate   
ResolvedReason   
Risk   
Severity   
StackRank   
TimeCriticality   
ValueArea   
CompletedWork   
DueDate   
Effort   
FinishDate   
OriginalEstimate   
RemainingWork   
StartDate   
StoryPoints   
TargetDate   
Blocked   
SubjectMatterExpert1   
ParentWorkItemId   
TagNames   
StateCategory   
AutomatedTestId   
AutomatedTestName   
AutomatedTestStorage   
AutomatedTestType   
AutomationStatus   
StateChangeDate   
Count


ORG1

Column Name Description Calculated Column Expression

WorkItemId   
InProgressDate   
CompletedDate   
LeadTimeDays   
CycleTimeDays   
InProgressDateSK   
CompletedDateSK   
AnalyticsUpdatedDate   
ProjectSK   
WorkItemRevisionSK   
AreaSK   
IterationSK   
AssignedToUserSK   
ChangedByUserSK   
CreatedByUserSK   
ActivatedByUserSK   
ClosedByUserSK   
ResolvedByUserSK   
ActivatedDateSK   
ChangedDateSK   
ClosedDateSK   
CreatedDateSK   
ResolvedDateSK   
StateChangeDateSK   
Revision   
Watermark   
Title   
WorkItemType   
ChangedDate   
CreatedDate   
State   
Reason   
FoundIn   
IntegrationBuild   
ActivatedDate   
Activity   
BusinessValue   
ClosedDate   
Issue   
Priority   
Rating   
ResolvedDate   
ResolvedReason   
Risk   
Severity   
StackRank   
TimeCriticality   
ValueArea   
CompletedWork   
DueDate   
Effort   
FinishDate   
OriginalEstimate   
RemainingWork   
StartDate   
StoryPoints   
TargetDate   
Blocked   
SubjectMatterExpert1   
ParentWorkItemId   
TagNames   
StateCategory   
AutomatedTestId   
AutomatedTestName   
AutomatedTestStorage   
AutomatedTestType   
AutomationStatus   
StateChangeDate   
Count   
CommentCount
1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

You can try the following methods.

vzhangti_1-1681185012725.png

Click EXPAND.

vzhangti_2-1681185045897.png

vzhangti_3-1681185085617.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors