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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rksharma86
Frequent Visitor

DAX Table Expression help needed - Unable to remove filter DAX expression

Problem: I want to calculate the Complaint per 10k Customer for each member and Industry average
rksharma86_0-1684391899514.png

Data Issue:  Some members who reported breach not reported assets and some members who reported assets not reported breach.

 

As you can see both the Member and Industry is same number on Chart due to Slicer on page.

 

DAX Code I used to get the Average insudtry per 10 K = 

 

Industry  per 10k Breach =

VAR TmpTable =

        FILTER (

            SUMMARIZE (

                'Member',

                'Member'[Subscriber],

                "MemberSum",

                    CALCULATE (

                        SUM ( Assets[Customers] ),

                        ALLEXCEPT ( dimCalendar, dimCalendar[Fiscal Year] )

                       

                    ),

                "TotalBreach",

                    CALCULATE (

                        [Breach],

                        ALLEXCEPT ( dimCalendar, dimCalendar[Fiscal Year] ),

                        dimCalendar[FisYear] >= 2021

                    )

            ),

            AND ( NOT ISBLANK ( [MemberSum] ), NOT ISBLANK ( [TotalBreach] ) )

        )

    VAR MemSum =

        SUMX (TmpTable, [MemberSum] )

    VAR TotBrch =

        SUMX (TmpTable, [TotalBreach] )

    RETURN

        DIVIDE ( TotBrch, MemSum ) * 10000

 

What I want to do with DAX Expression is to calculate the industry per 10k Breach which should not gets filtered by the Slicer. SO that each sub have their own per 10k breack and Industry 10k breach should be same across all the subscriber.

 

1 REPLY 1
Anonymous
Not applicable

Hi @rksharma86 ,  

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you .

 

Best Regards, 

Liu Yang 

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.