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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
laureljh6
New Member

Percentage of the grand total

I am trying to get the percentage of sales activity achieved by business line and by country. It needs to be based on the column total. So if I view the data by Business Lines I need to see the Actual Sales Activity, the Sales Activity Targets and the % of Sales Activity achieved against Targets.

 

The data looks like this:

 

Country Name, Business Lines, Actual Sales Activity, Sales Activity Targets

 

For example: If I have business line "A" with a total sales activity of 500 and a sales activity target total of 1000 I need the result to be 50%.

2 REPLIES 2
Anonymous
Not applicable

Try this...

 

% Sales acheived = DIVIDE(CALCULATE(Sales[Actual Sales Activity]),CALCULATE([Sales Activity Targets]),BLANK())

When I use that measure I receive an error.

 

The following syntax error occurred during parsing: Invalid token, Line 1, Offset 1, %.

 

I just started working in Power BI and I do not understand what the error means.

 

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.