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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Jay__
Regular Visitor

Using a Measure inside calculate to filter values

I am unable to use a measure inside calculate function please help!

 

Jay___0-1677062171243.png

highlighted one is a measure.

1 REPLY 1
VishalJhaveri
Resolver III
Resolver III

Hello @Jay__ 

Can you try applying the following DAX:

CALCULATE(
	Average(pdt[rfbp]),
	pdt[deliverymethod] = "SHP",
	pdt[rfbp]>0,
	Filter(pdt, 
		pdt[rfbp]< (write measure whole condition over here)
	)
)


Please update me if it works or not.

Thank you. 
If my answer helps, please mark it as solution.

Helpful resources

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

Top Solution Authors
Top Kudoed Authors