Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe SQL here may not be exact, but it illustrates what I'm attempting. How do I write a DAX statement that gets me the same output?
Select issueid, sum(timespent), parentid
From (Select Select issueid, sum(timespent), parentid
From (Select issueid, sum(timespent), parentid from issues
Group by parentid) group by parentid) group by parentid;
Issues table looks like:
Issueid | timespent | parentid |
1 | 5 |
|
2 | 10 |
|
3 | 45 | 1 |
4 | 17 | 2 |
5 | 12 | 3 |
6 | 77 | 3 |
7 | 11 | 4 |
8 | 70 | 4 |
So what I’m looking for in regard to issueid 1 is to see the sum of timespent for issueid 1, 3, 5 and 6, and for issueid 2, the sum of timespent for issueid 2, 4, 7 and 8.
Solved! Go to Solution.
@Anonymous , Refer if Path DAX function can help
@Anonymous , Refer if Path DAX function can help
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
98 | |
69 | |
66 | |
49 | |
41 |