Quantcast
Viewing all articles
Browse latest Browse all 217217

Percentage based off of text value

Hey All,

 

I'm very new to Power BI and excel in general. The last two weeks I've gotten a fairly decent handle on some of the easier aspects of Desktop Power BI.

 

My boss has asked me to add in a chart to a Dashboard of his that shows the percentage of sales made from a prepaid credit card by sales rep.

 

Seems easy enough... Prepaid / Total Sales 

Axis = Rep Name

Value = Prepaid %

 

The propblem is that my data colums are all text based and I can't figure out how to get this to work.

 

I have two colums to base my data off of;

Prepaid 

Status

My Table is "Append 1" 

 

I need to find the percent of Prepaid "Yes" / Status "Completed"

 

The best that I've been able to formulate is this Measure

 

 PrePaid % = ((COUNTROWS(FILTER(Append1,Append1[Prepaid] = "Yes")))/(COUNTROWS(FILTER(Append1,Append1[Status] = "Completed"))))*100

 

This is returning every sales rep as having 100% prepaid usage.

 

Can anybody help me figure this out?


Viewing all articles
Browse latest Browse all 217217

Trending Articles