Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17897

startofmonth & FirstDate function Issue

$
0
0

Hi All,
I was trying to get the first date from a date field or you can say a measure is having a date from which I was trying to get the first date . E.g. the measure is consisting 03-23-2017 , then I want to get 03-01-2017. For which I tried two functions we have in DAX i.e. StartOfMonth & FirstDate. But none of these functions gave me the required result. Then I tried
EOMONTH(Measure,-1)+1. And it gave me the correct answer.
I just wanted to know whether the two functions are working fine for others and I have done something wrong or, these functions are not working at all.


Thanks & Regards,
SKD


Viewing all articles
Browse latest Browse all 17897

Trending Articles



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