Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Nfuentes86
Helper I
Helper I

Power Bi Matrix Excluding Rows

Nfuentes86_0-1712952741929.png

How can I exclude Change Orders and Indirects from the Total Column? 

I have tried : 

TotalExcludingIndirectsAndChangeOrders = CALCULATE( SUM('ProgressWeeklyTable-6300263'[SV]), FILTER( 'ProgressWeeklyTable-6300263', 'ProgressWeeklyTable-6300263'[Category] <> "Indirect" && 'ProgressWeeklyTable-6300263'[Category] <> "Change Order" && NOT(ISBLANK('ProgressWeeklyTable-6300263'[SV])) ) )
 
The outcome isn't doing what I need it to do. I need Indirects and Change Order NOT to be included in the Total Column. As we can tell here Original Colum (SV) Total is 4,646.00 with the Dax Measure is Giving the same 4646.
Nfuentes86_1-1712952827330.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Nfuentes86 ,

 

Change your formula like below:

sum_ = SUM('Table'[Value])
result_ =
IF (
    HASONEVALUE ( 'Table'[Cagetory] ),
    SUM ( 'Table'[Value] ),
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER (
            ALL ( 'Table' ),
            'Table'[Cagetory] <> "Indirects"
                && 'Table'[Cagetory] <> "Change Order"
                && NOT ( ISBLANK ( 'Table'[Cagetory] ) )
        )
    )
)

vkongfanfmsft_0-1713148949179.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Nfuentes86_0-1713363153601.png

what do i do in this situation?

used --> 

result_ =
IF (
    HASONEVALUE ( 'ProgressWeeklyTable-6300263'[SV] ),
    SUM ( 'ProgressWeeklyTable-6300263'[SV] ),
    CALCULATE (
        SUM ( 'ProgressWeeklyTable-6300263'[SV] ),
        FILTER (
            ALL ( 'ProgressWeeklyTable-6300263' ),
            'ProgressWeeklyTable-6300263'[SV] <> "Indirects"
                && 'ProgressWeeklyTable-6300263'[SV] <> "Change Order"
                && NOT ( ISBLANK ( 'ProgressWeeklyTable-6300263'[SV] ) )
        )
    )
)

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.