This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I need to write a measure that where EpicKey doesn't not exist in another table.
Epic table (Epickey, ProjectKey)
Issue table (IssueKey, EpicKey, ProjectKey)
The measure needs to give me a distinct count of ProjectKey where Epic.Epickey does not exist in Issue.Epickey
Solved! Go to Solution.
I think I solved it with EXCEPT.
Count of Projects = CALCULATE(
CALCULATE(
DISTINCTCOUNT(JiraEpic[ProjectKey]),
EXCEPT (
VALUES ( JiraEpic[EpicKey] ),
VALUES ( IssuesList[EpicKey] )
) -- Not in IssuesList
) +
CALCULATE(
DISTINCTCOUNT(IssuesList[ProjectKey])
)
)
@Anonymous
Any chance you can post sample data from both tables? (as a table if possible, to allow us to copy/paste into Excel)
Proud to be a Super User!
Paul on Linkedin.
I think I solved it with EXCEPT.
Count of Projects = CALCULATE(
CALCULATE(
DISTINCTCOUNT(JiraEpic[ProjectKey]),
EXCEPT (
VALUES ( JiraEpic[EpicKey] ),
VALUES ( IssuesList[EpicKey] )
) -- Not in IssuesList
) +
CALCULATE(
DISTINCTCOUNT(IssuesList[ProjectKey])
)
)
Hey @Anonymous ,
please take the time to create a pbix that contains sample data, but still reflects your data model. Upload the pbix to onedrive or dropbox and share the link.
Please describe the expected result based on your sample data.
Regards,
Tom
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |