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

Devide by one time in a multiple values

$
0
0

Hi,

 days_in_month.png

 

Hi,
I have a time table with days_in_month field to count everyday in a month into a column and the value for this field is the same for each row belongs to a month.
Now i want to create a new measure by divide Total Sales / days_in_month but just only one time instead of dividing 31 times for Mar.

Assuming Total Sales for Mar = 1M$, now i want to create this measure(named avgSales) = Total Sales/31

 

Could anyone help me? thanks in advanced

 

Best regards,
J.

 


Viewing all articles
Browse latest Browse all 213916

Trending Articles



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