Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to get data from my actuals table and sum that into the budget table, if certain Fields match. Pictures might be more helpful.
Basically summing the actuals when these four fields match in the budget. So for example, if there are 4 Actuals of 500 for account "72051" department "2036" location "505" and projectid "null" then newly created column in the budget table would show 2000. Hopefully that makes sense. I tried to do a merge and then aggregate it, but that is not working.
Solved! Go to Solution.
Why don't you try doing a Mearge Query operation based on those 2 tables in Power Query Editor using the 4 columns in both tables? The resulting Dataset you could do a Group By Transormation to take the sum of Amount.
Why don't you try doing a Mearge Query operation based on those 2 tables in Power Query Editor using the 4 columns in both tables? The resulting Dataset you could do a Group By Transormation to take the sum of Amount.
That seems to work, thanks! I must have been doing the merge different the first around.
could you post a dataset which can be copy / pasted ? @Anonymous
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Hi @LivioLanzo
I can post a sample of the data (it is a really large data set). Which is the best formate to post it in?
Here is a sample in Google Sheets. But if that doesnt work, let me know an alternative
Thanks,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |