Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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
)
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 28 | |
| 26 | |
| 25 | |
| 18 |
| User | Count |
|---|---|
| 54 | |
| 47 | |
| 39 | |
| 28 | |
| 21 |