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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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])

 

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])

 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors