Hi everyone,
I have a very simple question but couldn't make it work. I have Table 1 and 2 which are 1-to-1 relationship. I want to create a SUM column in Table 2 which sums the value from Table 1 but filter by Table 2's criteria column. There are multiple criteria, showing one for simplicity.
Table 1
Key | Value |
1 | 100 |
2 | 200 |
3 | 400 |
Table 2
Key | Criteria | Sum |
1 | A | 300 |
2 | A | 300 |
3 | B | 400 |
Thank you,
Kevin
Solved! Go to Solution.
try to create a column with the code below:
try to create a column with the code below:
or with this code:
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
User | Count |
---|---|
215 | |
58 | |
49 | |
46 | |
45 |
User | Count |
---|---|
264 | |
211 | |
113 | |
82 | |
71 |