cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
laureljh6 Frequent Visitor
Frequent Visitor

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
Highlighted

Re: Percentage of the grand total

Try this...

 

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

Re: Percentage of the grand total

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
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 254 members 2,576 guests
Please welcome our newest community members: