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.
Hi,
I searched every topic from the community and not found how to do this.
Sorry if anyone already solve it.
The thing is that I have a source table (table 1) with multiple key like this example
And I have another one like this example (table 2):
I'd like to do a CALCULATE formula that SUM the values from the column 'table 2'[3M] , with the keys 'table 1'[Key1] and 'table 2'[Key1] and returns the SUM of the 'table 2'[3M] only for the first row of the table 1. I need this to not duplicate the Forecast Value of the Table 2 in my Table 1.
Hope someone helps me. 😃
Thanks!
Solved! Go to Solution.
Hi,
You may download my PBI file from here.
Hope this helps.
Hi,
Your question is not clear and the images there are very small. Show a smaller dataset, explain the business context and show the expected result.
Ok, I made the example in excel bellow:
My goal is to do a CALCULATE in table 1 as a sumif, with the Key1 of both tables, that SUM the values from the column Forecast from Table 2, but populate only the first row in Table 1.
*I can't do a CALCULATE as a sumif simple and populate the other rows of Table 1 because it will duplicate or triplicate the Forecast value from Table 2 in Table 1.
Thank you for your time. 😃
Hope you could help me.
Hi,
You may download my PBI file from here.
Hope this helps.
Hi,
I can do this with a combination of the Query Editor and a calculated column formula. Would you be OK with that solution?
Sure.
I am trying to do it in DAX, but if the only solution is with the Query Editor, I can change it, no problem.
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 |
---|---|
98 | |
97 | |
75 | |
71 | |
64 |
User | Count |
---|---|
143 | |
109 | |
103 | |
82 | |
74 |