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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.