Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello,
I have made a summarized table using the following DAX:
Solved! Go to Solution.
Hi, @Anonymous
Please try to create a calculated table as below to see if it works.
Summary Table =
FILTER (
SUMMARIZE (
'TransXML Children Level',
'TransXML Children Level'[SBatchName],
'TransXML Children Level'[FileName],
'TransXML Children Level'[LockBox],
'TransXML Children Level'[ResultStatus],
'TransXML Children Level'[Batch Status],
'TransXML Children Level'[Transaction Date].[Date],
'TransXML Children Level'[Period],
'TransXML Children Level'[Account],
'TransXML Children Level'[NbInvoiceBAI],
"number of invoices Posted", CALCULATE (
DISTINCTCOUNT ( 'TransXML Children Level'[CorInvoice] ),
FILTER (
'TransXML Children Level',
'TransXML Children Level'[CorInvoice] <> BLANK ()
&& 'TransXML Children Level'[Batch Status] = "A"
)
),
"number of invoices none Posted", CALCULATE (
DISTINCTCOUNT ( 'TransXML Children Level'[CorInvoice] ),
FILTER (
'TransXML Children Level',
'TransXML Children Level'[CorInvoice] <> BLANK ()
&& 'TransXML Children Level'[Batch Status] = "N"
)
),
"TotalAmount", SUM ( 'TransXML Children Level'[Amount] )
),
'TransXML Children Level'[ResultStatus] = "s"
&& 'TransXML Children Level'[Account] = "100"
)
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Please try to create a calculated table as below to see if it works.
Summary Table =
FILTER (
SUMMARIZE (
'TransXML Children Level',
'TransXML Children Level'[SBatchName],
'TransXML Children Level'[FileName],
'TransXML Children Level'[LockBox],
'TransXML Children Level'[ResultStatus],
'TransXML Children Level'[Batch Status],
'TransXML Children Level'[Transaction Date].[Date],
'TransXML Children Level'[Period],
'TransXML Children Level'[Account],
'TransXML Children Level'[NbInvoiceBAI],
"number of invoices Posted", CALCULATE (
DISTINCTCOUNT ( 'TransXML Children Level'[CorInvoice] ),
FILTER (
'TransXML Children Level',
'TransXML Children Level'[CorInvoice] <> BLANK ()
&& 'TransXML Children Level'[Batch Status] = "A"
)
),
"number of invoices none Posted", CALCULATE (
DISTINCTCOUNT ( 'TransXML Children Level'[CorInvoice] ),
FILTER (
'TransXML Children Level',
'TransXML Children Level'[CorInvoice] <> BLANK ()
&& 'TransXML Children Level'[Batch Status] = "N"
)
),
"TotalAmount", SUM ( 'TransXML Children Level'[Amount] )
),
'TransXML Children Level'[ResultStatus] = "s"
&& 'TransXML Children Level'[Account] = "100"
)
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.