Forum Discussion
Merge columns in Paginated report
- 1 year ago
Hello rnola16,
Thank you for reaching out to the Microsoft Fabric Forum Community.
To answer your question the Report Builder doesn’t support merging datasets like a SQL JOIN or Power BI relationships.You can use the Lookup() function to fetch values from other datasets, but that only works one-to-one (like a left join). If you have 10+ datasets, this means you'll need to:
- Use a master dataset that contains all distinct ID/Name keys (via UNION)
- Use Lookup() for each column you want to bring in from the respective dataset.
Alternatively, if you're able to, building a SQL View or Stored Procedure that handles the full outer join across your datasets will give you the cleanest and most scalable approach.
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
I can do this using UNION by combining all the queries, but there comes a point when I have like 10 different queries ( with different number of col in each) and merge on field to retrieve other col values in the tablix. Is report Builder equipped to merge columns on a field with muliple datsets ?
Appreciate your response Bmejia .
- v-ssriganesh1 year ago
Community Support
Hello rnola16,
Thank you for reaching out to the Microsoft Fabric Forum Community.
To answer your question the Report Builder doesn’t support merging datasets like a SQL JOIN or Power BI relationships.You can use the Lookup() function to fetch values from other datasets, but that only works one-to-one (like a left join). If you have 10+ datasets, this means you'll need to:
- Use a master dataset that contains all distinct ID/Name keys (via UNION)
- Use Lookup() for each column you want to bring in from the respective dataset.
Alternatively, if you're able to, building a SQL View or Stored Procedure that handles the full outer join across your datasets will give you the cleanest and most scalable approach.
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.- v-ssriganesh1 year ago
Community Support
Hi rnola16,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.
Thank you.