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.
Hello community - I am getting the error "Argument 3 in CALCULATE function is required for this DAX measure. Reading other posts, most of these appear to be a syntax such as an extra comma but I am having trouble spotting it in my code. Can anyone assist?
Thank you @kky1
Solved! Go to Solution.
@kky1 , remove comma in this
VAR __selected_gender_sel =
CALCULATE(
SUM('Faculty IPEDS Diversity'[Count]),
'Peer Groups'[UnitID]=__selectedUnitID, //variable selectedInstitution
)
like
VAR __selected_gender_sel =
CALCULATE(
SUM('Faculty IPEDS Diversity'[Count]),
'Peer Groups'[UnitID]=__selectedUnitID //variable selectedInstitution
)
Thanks so much @amitchandak - that was the ticket! Much appreciated for your quick eye on that!!
@kky1 , remove comma in this
VAR __selected_gender_sel =
CALCULATE(
SUM('Faculty IPEDS Diversity'[Count]),
'Peer Groups'[UnitID]=__selectedUnitID, //variable selectedInstitution
)
like
VAR __selected_gender_sel =
CALCULATE(
SUM('Faculty IPEDS Diversity'[Count]),
'Peer Groups'[UnitID]=__selectedUnitID //variable selectedInstitution
)
User | Count |
---|---|
98 | |
76 | |
75 | |
49 | |
27 |