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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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.
User | Count |
---|---|
98 | |
76 | |
74 | |
49 | |
26 |