User Profile
filipeanalytics
Regular Visitor
Joined 2 years ago
User Widgets
Contributions
Re: Merge reference or duplicate query into source query
Hi lbendlin, I've uploaded the PBIX file in the following link: https://we.tl/t-H4KIHK56eM This is the flow of what I'm trying to do: I created the expected result manually in Excel. Let me know if this makes sense. Thank you, Filipe1.5KViews0likes0CommentsRe: Merge reference or duplicate query into source query
Thanks a lot for the fast reply lbendlin! I'm trying to join my main query to a summarized version of it, so I don't think I can do that by merging the query to itself. Is there a way to do the equivalent of a sql SUM window function? SUM(salary) OVER(PARTITION BY dept_id) AS dept_total_salary Because in the end what I'm trying to do is to create a new column using SUM partitioned by two other columns. Below is the image of the summarized table, which is a reference to the main query. And my goal is to merge this to the main query (which has the granular data) by year and category. The referenced query becomes unavailable for merging when I try to do a merge from the main query:1.6KViews0likes1CommentMerge reference or duplicate query into source query
I'm trying to merge my main query with another query that I created as a reference from this main query. Power Query doesn't let me do that. The reference query is basically a group by from the main query and I'm trying to join/merge this summary table back into the main query. I'm trying to do the equivalent of the SUM window function in SQL. Ex: SUM(salary) OVER(PARTITION BY dept_id) AS dept_total_salarySolved1.7KViews0likes5Comments
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.