Power BI Exchange

Please login or click SIGN UP FOR FREE to create your PowerBIUG account to join this user group.
 View Only
  • 1.  DAX for Days Calculating

    Bronze Contributor
    Posted Jul 29, 2022 12:00 PM
    I have have table like this.


    Now I wan't to create a measure as Days Vacant. In which I wan't to show no.of days that IteamAreaID has been vacant. If IteamAreaID 10 and ContractEndate is "Thursday, December 09, 2021" and again ContractStartDate is "Friday, December 10, 2021" for IteamAreaID 10 now in Days vacant measure I wan't to show as '0' because the days difference between those two dates are '0' and suppose if new ContractStartDate is "Wednesday, December 15, 2021" then Days vacant I wan't to show as '4'. For this how write dax


    ------------------------------
    Phaneendra Adusumilli
    ------------------------------