The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |