Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
What can I use instaead to MAX in the below measure to calculate Average based on some conditions:
Regards,
Himanshu
Solved! Go to Solution.
Hi there!
MAX is returning an error because you are closing the braket after the condition, you should close the MAX braket right after the column. It would look like this:
Hi
Your Question & Dax is not clear. However my assumption is if user selects DTH then you want to multiply with 0.1 else you want to take average.
Dax = IF ( SELECTEDVALUE(View_Dealclosing[Unit]) = "DTH",
AVERAGE(View_Dealclosing[PrimaryAdder])*0.1,
AVERAGE(View_Dealclosing[PrimaryAdder]))
Appreciate a Kudos!
If this helps and resolves the issue, please mark it as a Solution!
Regards,
N V Durga Prasad
Hi there!
MAX is returning an error because you are closing the braket after the condition, you should close the MAX braket right after the column. It would look like this:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |