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

Help with Percentage with conditions - DAX formula question

$
0
0

I have a data sets importing into Power BI from databases. I cannot edit this data sets in excel and need to find a way to get the CORRECT calculated fields in Power BI to finish a project.

 

What I need is to get a Percentage = ((x_response) / (total responses)).  

example: there are 1877 total responces in 'table 1'[column1], there are 133 distinct responces in 'table 1'[coulmn1]  **(same table and column)**  

133/1877 = 0.06... 6%  I need a way to write a count if function based on unique responces from a column and divide that by total responces of that same column. 

 

I've attached 3 pictures with my issue.

 Problem shot 1.PNGProblem shot 2.PNGWhat I want to do In power BI.PNG

 

 

Some Help on this would be Great!


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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