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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Min Value Based on Measures Column

Hi Team,

 

I have done new measure for sum_stock however based on sum_stock measure i need min value for each UID.

 

Capture1.PNG

 

 

Thanks,

KV's

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , not ver clear ,

 

You need

min(table[Quantity])

or

minx(values(Table[UID]),[sum_stock])

 

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

3 REPLIES 3
v-cazheng-msft
Community Support
Community Support

Hi, @Anonymous 

You can try the following Measure and then create a Table visual.

Min_each_UID = MINX('DIM',[Sum_Stock])

 

The result looks like this:

v-cazheng-msft_0-1612321194335.png

 

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AnkitKukreja
Super User
Super User

Hi @Anonymous 

Please clearly state your requirement.

Try and use min function on your current measure.

 

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
amitchandak
Super User
Super User

@Anonymous , not ver clear ,

 

You need

min(table[Quantity])

or

minx(values(Table[UID]),[sum_stock])

 

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

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.