Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
falazim
New Member

Argument 6 in CALCULATE function is required

Hi,

 

I'm trying to calculate all rows in a table that equal certain text and I'm getting "Argument '6" in CALCULATE function is required.  I need help.

 

Unproductive Time = CALCULATE(COUNTROWS('Avtex Call-User Presence'),'Avtex Call-User Presence'[Primary]="Break",'Avtex Call-User Presence'[Primary]="Meal",'Avtex Call-User Presence'[Primary]="Training",'Avtex Call-User Presence'[Primary]="meeting",,0)
 
1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Hi @falazim 

There is a mistake or a missing argument in here

aj1973_0-1667078722368.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

2 REPLIES 2
aj1973
Community Champion
Community Champion

Hi @falazim 

There is a mistake or a missing argument in here

aj1973_0-1667078722368.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Thank you, I removed the commas and it fixed it.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.