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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Easley06
Helper II
Helper II

Filter out the monthyear

Hi,

 

i have visual for this 

Easley06_0-1650599102172.png

the answer should be this 

Easley06_1-1650599539156.png

 

 

how to remove the filter in the visual using in the measure because im getting the wrong answer 

 

Measures:

MonthYear = [Short Month] & " " & [Year]
Short Month = FORMAT(mv_fact_sales_aggr[create_month_year],"MMM")
Year = year(mv_fact_sales_aggr[create_month_year])
Month Year Sort = FORMAT([date], "YYYYMM")
 
 
SOM = divide(sum(mv_fact_sales_aggr[Wfactor Sales]),CALCULATE(sum(mv_fact_sales_aggr[Wfactor Sales]),ALLSELECTED(mv_fact_sales_aggr[company],mv_fact_sales_aggr[brand_family_name],mv_fact_sales_aggr[brand_name],mv_fact_sales_aggr[product_name],mv_fact_sales_aggr[volpricetier],mv_fact_sales_aggr[regional],mv_fact_sales_aggr[zone],mv_fact_sales_aggr[area],mv_fact_sales_aggr[Year],mv_fact_sales_aggr[price_segment],mv_fact_sales_aggr[Weighting Factors],mv_fact_sales_aggr[segment],mv_fact_sales_aggr[product_classifier]),ALL(mv_fact_sales_aggr[brand_family_name]
,mv_fact_sales_aggr[create_month_year],mv_fact_sales_aggr[Month Year Sort],mv_fact_sales_aggr[create_month_year],mv_fact_sales_aggr[Short Month],mv_fact_sales_aggr[Year]
,mv_fact_sales_aggr[date])),0)*100
 
1 ACCEPTED SOLUTION

Hi @Easley06 ,

 

You can use REMOVERFILTERS() to remove the filter you want. And some measures like this :

 

DIVIDE (
    SUM ( mv_fact_sales_aggr[Wfactor Sales] ),
    CALCULATE (
        SUM ( mv_fact_sales_aggr[Wfactor Sales] ),
        REMOVEFILTERS ( mv_fact_sales_aggr[MonthYear] )
    )
)

 

Best Regards

Community Support Team _ chenwu zhu

 

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

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Easley06 , which filter you want to remove and what you want to display ?

 

Always prefer a separate date table and other dimension tables. you can use all('DAte') and it will remove date filter and other dimensions filter will remain 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

the filter for Monthyear 

Hi @Easley06 ,

 

You can use REMOVERFILTERS() to remove the filter you want. And some measures like this :

 

DIVIDE (
    SUM ( mv_fact_sales_aggr[Wfactor Sales] ),
    CALCULATE (
        SUM ( mv_fact_sales_aggr[Wfactor Sales] ),
        REMOVEFILTERS ( mv_fact_sales_aggr[MonthYear] )
    )
)

 

Best Regards

Community Support Team _ chenwu zhu

 

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

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.