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

how to sum all the values without distinct filter ?

$
0
0

This is my expression:

 

CALCULATE (
    SUM ( WHourOAI[WCalWorkingHour] ),
    FILTER (
        WHourOAI,
        FORMAT ( WHourOAI[TRANSDATE], "dd MMMM, yyyy" )
            > FORMAT ( "13 July, 2015", "dd MMMM, yyyy" )
            &&FORMAT ( WHourOAI[TRANSDATE], "dd MMMM, yyyy" )
                < FORMAT ( TODAY (), "dd MMMM, yyyy" )
    )
)

 

It's working but not shosing the correct values, If I apply a month filter and check for the sum of feb month it shows only 8 i.e. unique or distinct value. but i want to sum  all the values because in my table it contains only 1 record on a single date. How to remove this default filter??

Thanks for your time.


Viewing all articles
Browse latest Browse all 217930

Trending Articles



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