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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Alex1988
Helper I
Helper I

Remove 'products' from chart where Avg Sales for entire data range is less than X

Hi All, 

 

I'm creating an Alarm for our product to see if there is a big % change between daily rolling averages. 

The problem is the alarm would fire too often for products with lower Sales as the % would fluctuate too aggressively. 

 

I would like to remove any products from the chart where the AVG Daily Sales Amount is less than X (e.g £500) for the entire date range. 

 

I tried doing this using a filter on the visual but it will only remove the products with less that 500 on the date Dimension. I want it to ignore the date dimension being used in the chart. At the moment i have the % against carrier and date dimensions. 

Would i need to create a table to do this or can i do it in DAX Easily? 

Thank, 


Alex 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Alex1988 , Try like

calculate([AVG Daily Sales Amount], filter(values(Table[product]), [AVG Daily Sales Amount] >500))

or

averageX(filter(summarize(Table, Table[product], "_1",[AVG Daily Sales Amount])),[_1]>500,[_1])

 

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

1 REPLY 1
amitchandak
Super User
Super User

@Alex1988 , Try like

calculate([AVG Daily Sales Amount], filter(values(Table[product]), [AVG Daily Sales Amount] >500))

or

averageX(filter(summarize(Table, Table[product], "_1",[AVG Daily Sales Amount])),[_1]>500,[_1])

 

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors