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

sameperiode last year

$
0
0

Hi,

 

I want to compare data with the results in the same periode last year and have the next DAX formula:

  • Total Calls = COUNT(NLE_PowerBI_verzoeken[HID])
  • Total Calls LY = CALCULATE( [Total Calls] ;  SAMEPERIODLASTYEAR( Datum[Date]))

When i don't use a date-filter visual i see that the line "Total Calls LY" (last year) also shows the next year.

 

How can i complete the DAX formula that it have a maximum date of the current date?

 

YTD.JPG

 

 

Thanks


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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