Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
23 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |