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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
GSB0302
Frequent Visitor

Find Minimum Average Price

I am trying to find the minimum average value of a data set excluding negative values.

GSB0302_0-1715693414152.png


Right now I am using '
Min Price = CALCULATE(MIN('Main DATA'[Customer Sales]),'Main DATA'[Customer Sales] >0)' but this seems to be taking in purely the lowest price, and not the lowest average price, which is what I'm looking for.

GSB0302_1-1715693481491.png

 

 

I already have a formula set up for average value, there has to be a work around for this, but I'm drawing a blank.

1 ACCEPTED SOLUTION
ray_aramburo
Super User
Super User

You can use MINX and your measure to achieve that. Take some inspiration from this post.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
ray_aramburo
Super User
Super User

You can use MINX and your measure to achieve that. Take some inspiration from this post.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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