Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have 2 columns ID and value out of which i want only those id whoes value is less than 4 and if value is 4 or greater than 4 then only show id and value of maximum one
Hi, try this
show_value =
var select_value = SELECTEDVALUE(value column)
var select_ID = SELECTEDID(ID column)
return IF(MAXX(FILTER(table, ID column = select_ID),value colum)>=4,MAXX(FILTER(table, ID column = select_ID),select_value)
This is not working for me
Hi, modifiy a bit
var select_value = SELECTEDVALUE(value column)
var select_ID = SELECTEDVALUE(ID column)
return IF(MAXX(FILTER(table, ID column = select_ID),value colum)>=4,MAXX(FILTER(table, ID column = select_ID),select_value)
if still not, can you share screen of error.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!