Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 216067

Calculate % based off total, rather than selected

$
0
0

I should warn you first off - I'm new - only been using Power BI for Desktop for 2 days, so still trying to understand everything. I have target date though coming up that I need to build several reports and quickly. 

 

This is a basic layout of data to help explain what I'm attempting to do. 

 

Table1

ColumnA     Result          Month

Random#      Good          Feb

Random#      Good           Jan

Random#      Bad             Jan

Random#      Unknown    Jan

Random#      Good           Jan

Random#      Good          Jan

Random#     Unknown    Jan

Random#     Unknown    Feb

Random#     Unknown    Jan

Random#      Good         Jan

Random#      Good          Feb

Random#      Good           Jan

Random#      Bad             Jan

Random#      Good          Feb

Random#      Good           Jan

Random#      Bad             Jan

 

I want a line chart, that has 2 lines  - One for Good by Month, other for Bad by Month.  I've filtered out the Unknowns. The values is %GT Count of Random#.  I want the Percentage to be representative of all the rows (Good, Bad, Unknown), but - I only want to show Good and Bad on the line chart. Once I filter out Unknown, the percentages shift to be reflective as if there are the only options Good and Bad. 

So - I want Good / Good + Bad + unknown  but it is calculating based on Good / Good + Bad

 

I saw several answers similar to this, but I can't seem to get them working - and with my limited knowledge so far, its a struggle. I have watched almost all of the videos on the Guided Learning. 

 

 


Viewing all articles
Browse latest Browse all 216067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>