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

COUNT and SUM in one column depending to another column

$
0
0

Hi everyone!

 

I am looking for a solution to the following problem for PowerBI Desktop: I would like to count all column values to a date in a column (HOURS) depending on a different column (TYPE, "z"). Then the count of the values which are greater than 10 is to be counted. The main problem for me is that I could count the hours, but I have not been able to sum up the number of hours over 10 (COUNTA ?)

 

Thanks

Stefan

 

Example:

 

NAME        DATE                 HOURS         TYPE
a                02.05.2016        3                   x
b                02.05.2016        5                   y
a                02.05.2016        6,5                x
b                02.05.2016        7                   x
a                02.05.2016        4                   z
a                03.05.2016        4                   x
b                03.05.2016        5                   x
b                03.05.2016        5,5                y
a                04.05.2016        6,5                x
a                04.05.2016        5                   x
b                04.05.2016        3,5                y
b                04.05.2016        6                   x
a                05.05.2016        6                   x
a                05.05.2016        5                   y
b                05.05.2016        7                   x
b                05.05.2016        5                   z


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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