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 a table that receives daily 4 values sent by a device, in total there are 6 columns (one for the date, one for the device and one for each value). I need to make a measure or column that selects the highest value among the colunas, but I also need the other columns not to be in 0.
Can anybody help me?
Thank you all!
Solved! Go to Solution.
Hello. I am not 100% sure what you want the column to return. I suspect its a problem best overcome in power query but here is a DAX solution anyway. Here are two solutions that I think might work for you:
Max only if all values>0
Max if values >0
Hello. I am not 100% sure what you want the column to return. I suspect its a problem best overcome in power query but here is a DAX solution anyway. Here are two solutions that I think might work for you:
Max only if all values>0
Max if values >0
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
38 |