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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

DAX Filter That Doesn't Repeat

I need a filtered measure that doesn't repeat across dimensions.

 

I want my measure "Self Funded Amount" to only show on the row "Self Funded".

 

Filter.PNG\

 

The current measure is 

 

Self Funded Amount:=
CALCULATE (
    DIVIDE ( [Earned Income] , [Medical Member Months] ),
     'Experience Category'[New Group Funding Type] = "Self Funded" 
)
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Try this:

 

Self Funded Amount:=
CALCULATE (
DIVIDE ( [Earned Income] , [Medical Member Months] ),
FILTER('Experience Category'[New Group Funding Type] = "Self Funded")
)

 

This worked for me. Let me know if that's not the case for you.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Did you try adding a visual filter New group Funding Type = "Self Funded"? 

Anonymous
Not applicable

Did you try adding a visual filter New group Funding Type = "Self Funded"? 

Anonymous
Not applicable

I don't want a filter on the whole visual. This is just an example -- other group IDs will not be "Self Funded". I will also have a measure for "Fully Insured Amount"

Anonymous
Not applicable

Try this:

 

Self Funded Amount:=
CALCULATE (
DIVIDE ( [Earned Income] , [Medical Member Months] ),
FILTER('Experience Category'[New Group Funding Type] = "Self Funded")
)

 

This worked for me. Let me know if that's not the case for you.

Anonymous
Not applicable

That's it! I knew it had to be something easy! I thought the logic of FILTER was included already in the CALCULATE function. Can you explain how yours works differently than mine? Thanks!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.