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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
I_LOVE_POWER_BI
Helper III
Helper III

Count of Upper Hierarchy

Hi guys,

 

What I need is the following count highlighted in yellow as a new column:

I_LOVE_POWER_BI_0-1653548697901.png

 

1 ACCEPTED SOLUTION
dhruvinushah
Responsive Resident
Responsive Resident

Hi @I_LOVE_POWER_BI , 
If your requirement is to get the Lowest price from the different material types in the Material master then try this formula:

LowestPrice = 
var Lowest = MIN('MaterialTable'[Price])

var SummarizedLowest = MINX(SUMMARIZE('MaterialTable',[MaterialMaster],[MaterialType]), Lowest)

return
SummarizedLowest


Hope this helps.









View solution in original post

1 REPLY 1
dhruvinushah
Responsive Resident
Responsive Resident

Hi @I_LOVE_POWER_BI , 
If your requirement is to get the Lowest price from the different material types in the Material master then try this formula:

LowestPrice = 
var Lowest = MIN('MaterialTable'[Price])

var SummarizedLowest = MINX(SUMMARIZE('MaterialTable',[MaterialMaster],[MaterialType]), Lowest)

return
SummarizedLowest


Hope this helps.









Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors