Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have the following table structure
Key IssueType Parent Status
K001 EPIC
K002 EPIC
K003 Task K001 Open
K004 Task K002 Closed
K005 Task K001 Open
K006 Bug K002 Open
I am trying to:
I was able to do it as a COLUMN using the EARLIER DAX method but I am unable to use the same in a MEASURE.
Any help or guidance is appreciated.
Solved! Go to Solution.
Hi @Anonymous ,
You can create your measures like so:
IF ( MAX ( 'Table'[Parent] ) <> BLANK (), CALCULATE ( COUNT ( 'Table'[Key] ) + 0, FILTER ( ALLEXCEPT ( 'Table', 'Table'[Parent] ), 'Table'[IssueType] <> "EPIC" ) ) )
total number of "Closed" child of each EPIC = IF ( MAX ( 'Table'[Parent] ) <> BLANK (), CALCULATE ( COUNT ( 'Table'[Key] ) + 0, FILTER ( ALLEXCEPT ( 'Table', 'Table'[Parent] ), 'Table'[Status] = "Closed" ) ) )
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You can create your measures like so:
IF ( MAX ( 'Table'[Parent] ) <> BLANK (), CALCULATE ( COUNT ( 'Table'[Key] ) + 0, FILTER ( ALLEXCEPT ( 'Table', 'Table'[Parent] ), 'Table'[IssueType] <> "EPIC" ) ) )
total number of "Closed" child of each EPIC = IF ( MAX ( 'Table'[Parent] ) <> BLANK (), CALCULATE ( COUNT ( 'Table'[Key] ) + 0, FILTER ( ALLEXCEPT ( 'Table', 'Table'[Parent] ), 'Table'[Status] = "Closed" ) ) )
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
98 | |
76 | |
74 | |
49 | |
26 |