The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
71 | |
64 | |
62 | |
50 | |
28 |
User | Count |
---|---|
117 | |
75 | |
62 | |
54 | |
43 |