Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All,
I have the following input data and need to calulte column Result using DAX.
Month | Value | ID_1 | ID_2 | Result |
January | 12 | a | 0 | |
February | 14 | a | 0 | |
March | 5 | b | 0 | |
April | 7 | b | 0 | |
May | 8 | b | 0 | |
June | 1 | c | 0 | |
July | 41 | b | 0 | |
August | 24 | a | 26 | |
September | 33 | b | 61 |
In excel I would simply using SUMIFS with criteria range as column "ID_1" and criteria as column "ID_2":
In DAX I am trying to make the following:
Solved! Go to Solution.
Hi,
Can you try below formula 🙂
Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂
Regards,
N V Durga Prasad
Hi,
Can you try below formula 🙂
Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂
Regards,
N V Durga Prasad
Big thank you! It works!
User | Count |
---|---|
18 | |
18 | |
14 | |
14 | |
13 |
User | Count |
---|---|
17 | |
14 | |
11 | |
10 | |
8 |