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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Getting error on Devide

Hello great people could you please help me to fix my error. As a new learer of Power BI, facing some basic difficulties. Appreciate your help. 

Progress measure = DIVIDE(CALCULATE(Table_query_Progress Status),[In scope Measure])
 
The syntax for 'Status' is incorrect. (DAX(DIVIDE(CALCULATE(Table_query_Progress Status),[In scope Measure]))).
 
I want to devide, Table_query_Progress Status this coloumn by In scope Measure. Unfrotunetly thhis coloumn, "Table_query_Progress Status)" is gray. 
Appreciate your help.
Thanks
2 ACCEPTED SOLUTIONS
rohit_singh
Solution Sage
Solution Sage

Hi @Anonymous ,

You're getting the error beause in a measure you will need to specify an aggregation in order to reference a column.

rohit_singh_0-1655310661649.png

Progress measure = DIVIDE(CALCULATE(MAX(Table_query_Progress Status),[In scope Measure])

 

Kind regards,

Rohit


Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂

View solution in original post

Hi @Anonymous ,

This is because of missing brackets. Please ensure that you use tabs in your code to improve readability and troubleshooting time.

Progress measure =

DIVIDE(
        CALCULATE(
                  MAX(Table_query__1[Progress Status (If In-Progress)])
        ),
[In scope Measure]
)

 

Kind regards,

Rohit

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Appreciate your help. 🙂

Anonymous
Not applicable

Thanks. I have used that,
Progress measure = DIVIDE(CALCULATE(MAX(Table_query__1[Progress Status (If In-Progress)]),[In scope Measure])
 
getting this error:

 

Too few arguments were passed to the DIVIDE function. The minimum argument count for the function is 2.

Hi @Anonymous ,

This is because of missing brackets. Please ensure that you use tabs in your code to improve readability and troubleshooting time.

Progress measure =

DIVIDE(
        CALCULATE(
                  MAX(Table_query__1[Progress Status (If In-Progress)])
        ),
[In scope Measure]
)

 

Kind regards,

Rohit

Anonymous
Not applicable

Thank you. Appreciate your help. 🙂

rohit_singh
Solution Sage
Solution Sage

Hi @Anonymous ,

You're getting the error beause in a measure you will need to specify an aggregation in order to reference a column.

rohit_singh_0-1655310661649.png

Progress measure = DIVIDE(CALCULATE(MAX(Table_query_Progress Status),[In scope Measure])

 

Kind regards,

Rohit


Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.