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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Apple08
Helper IV
Helper IV

To exclude data below specific value from dashboard

Hi all

 

I have a measure to count the maximum fiscal month value, however I have to exclude those value less or equal to 100.  Please can anyone advise me how to adjust the DAX below to exclude the value 100 and under?  Thanks.

 

 

 

YTD Data = var Max_Data_date = MAX ( 'Data'[Date] )

var FiscalMth = Calculate ( Max ( dim_Dates[Fiscal Month] ),
                            Filter ( dim_Dates , 'dim_Dates'[Dates] = Max_Data_date )
)

return
CALCULATE ( [Count Data] ,
              filter ( dim_Dates , 'dim_Dates'[Fiscal Month] = FiscalMth )
            ) + 0

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Apple08 , > 100 based on what. One example

 

return
CALCULATE ( Sumx(filter(Values(dim[Customer]), [Count Data] >100), [Count Data])
filter ( dim_Dates , 'dim_Dates'[Fiscal Month] = FiscalMth )
) + 0

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

View solution in original post

2 REPLIES 2
Apple08
Helper IV
Helper IV

Thanks amitchandak for your prompt response.  I have added in a comma after [Count Data]) at the end of the first row and it works perfectly.  Many thanks for your help.

amitchandak
Super User
Super User

@Apple08 , > 100 based on what. One example

 

return
CALCULATE ( Sumx(filter(Values(dim[Customer]), [Count Data] >100), [Count Data])
filter ( dim_Dates , 'dim_Dates'[Fiscal Month] = FiscalMth )
) + 0

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

Helpful resources

Announcements
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.