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

The Fabric community is now in read-only for platform upgrade. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

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.