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

Dividing 2 results Using DAX

$
0
0

I am attempting to divide the results of two calculations against each other, but I am getting the error, "The end of the input was reached". 

 

Here is the formula that I am using, can you tell me what it is that I am doing wrong?

 

CALCULATE( 

DIVIDE(  AVERAGE(table[Liter]), FILTER(table, [Fuel Type]="Premium"),FILTER(table,[Result]="Fail")),

(  AVERAGE(table[concentration]), FILTER(table, [Fuel Type]="Premium"),FILTER(table,[Result]="Fail") 

)

 

Thanks, in advance!


Viewing all articles
Browse latest Browse all 219306

Trending Articles



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