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 dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
61 | |
61 | |
55 | |
38 | |
27 |
User | Count |
---|---|
85 | |
60 | |
45 | |
41 | |
39 |