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.
How can i please create the new measure or column ? or any other approach i can use ?
Please let me know if you need additional infos.
Best,
Mous
Solved! Go to Solution.
Hi @Mous007
it is always a good idea to provide some sample data, or sample file, when you post a question. You will get a more accurate answer, and usually users of this forum is quicker at replying posts with sample data.
You can try something like this:
Number of requests with Complete status without failures =
VAR _allComplete =
CALCULATETABLE (
VALUES ( 'Full History Table'[TRACKING_NUMBER] ),
FILTER ( 'Full History Table', 'Full History Table'[STATUS] = "Complete" )
)
VAR _withFailures =
CALCULATETABLE (
VALUES ( 'Full History Table'[TRACKING_NUMBER] ),
FILTER ( 'Full History Table', NOT ( ISBLANK ( Failure ) ) )
)
VAR _withoutFailures =
EXCEPT ( _allComplete, _withFailures )
RETURN
COUNTROWS ( _withoutFailures )
You will probably have to change this statement, since I don't know how a failure is described:
CALCULATETABLE (
VALUES ( 'Full History Table'[TRACKING_NUMBER] ),
FILTER ( 'Full History Table', NOT ( ISBLANK ( Failure ) ) )
)
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Hi @Mous007
it is always a good idea to provide some sample data, or sample file, when you post a question. You will get a more accurate answer, and usually users of this forum is quicker at replying posts with sample data.
You can try something like this:
Number of requests with Complete status without failures =
VAR _allComplete =
CALCULATETABLE (
VALUES ( 'Full History Table'[TRACKING_NUMBER] ),
FILTER ( 'Full History Table', 'Full History Table'[STATUS] = "Complete" )
)
VAR _withFailures =
CALCULATETABLE (
VALUES ( 'Full History Table'[TRACKING_NUMBER] ),
FILTER ( 'Full History Table', NOT ( ISBLANK ( Failure ) ) )
)
VAR _withoutFailures =
EXCEPT ( _allComplete, _withFailures )
RETURN
COUNTROWS ( _withoutFailures )
You will probably have to change this statement, since I don't know how a failure is described:
CALCULATETABLE (
VALUES ( 'Full History Table'[TRACKING_NUMBER] ),
FILTER ( 'Full History Table', NOT ( ISBLANK ( Failure ) ) )
)
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Hi @sturlaws, thank you for your reply.
I managed to get the expected results by modfiying the forumla as follow:
Best,
Mous