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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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])

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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
https://topmate.io/ankit_kukreja
amitchandak
Super User
Super User

@Anonymous , not ver clear ,

 

You need

min(table[Quantity])

or

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

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.