Forum Discussion

Romani's avatar
Romani
Helper II
2 years ago

Generic date

 

CUSTOMER_NAMEOffer IdOFFERS_DATEOFFER_ACCEPTANCE_DATEREJECTION_DATEINVESTIGATION_DATESUBMISSION_TO_RISKSUBMISSION_DATE_TO_CREDITAPPROVAL_DATE
Client 2113/02/2023   15/02/202314/02/202314/02/2023
Client 3211/12/2023   12/03/202322/11/202324/12/2023
Client 7309/06/202320/09/2023 22/08/202310/01/202324/09/202309/04/2023
Client 9428/08/202330/08/2023 22/08/202309/05/202309/04/202309/04/2023
Client 11504/03/202306/07/2023 06/07/2023   
Client 12621/12/202317/01/2024 26/12/202320/02/202420/02/202419/02/2024
Client 14704/10/202319/04/2023 04/09/202305/09/202324/05/2023 
Client 15804/06/202304/06/2023     
Client 18912/04/2023  12/05/2023   
Client 201021/12/202318/01/2024 27/12/202322/01/202421/01/202421/01/2024
Client 27

11

09/01/202324/09/2023 09/10/202312/05/202312/04/202311/02/2023
Client 311224/10/2023 12/04/2023    
Client 321301/03/202322/01/2023 15/11/202214/02/202323/01/202320/01/2023
Client 381416/11/2023   21/11/202321/11/202316/11/2023
Client 431503/05/202303/05/2023 22/02/202303/05/202303/05/202303/06/2023
Client 441609/03/202324/09/2023 09/11/202310/12/202310/02/202310/09/2023
Client 491710/03/202310/03/2023 29/08/202311/08/202310/11/202310/11/2023
Client 501809/01/202324/09/2023 24/08/202326/09/202326/09/202326/09/2023
Client 511924/09/2023   11/12/202311/09/202326/09/2023
Client 602010/10/2023 20/11/2023 10/10/202320/11/2023 

I have all these dates 

 

To explain the situation i want to have dax or calculated column to give the below desired out put : 

1- the total number of offers presented in specific period and this i can get it from the total offers date to COUNT it

2- if the total number of offers in january equal 10 so i want something to see the last step that the offer is stpped on it so for example should be 2 at offering first stage 3 are pending accceptane 5 are under investigation that could happen when trackin the different dates of this offer 

10 Replies

  • Romani let's nstart from point 1. which is the start date and end date of the period?

    The measure is:

    Total Offers in Period =
    VAR StartDate = DATE(2023, 1, 1) // Set your desired start date
    VAR EndDate = DATE(2023, 12, 31)  // Set your desired end date
    RETURN
    COUNTROWS (
        FILTER (
            YourTable,
            YourTable[OFFERS_DATE] >= StartDate &&
            YourTable[OFFERS_DATE] <= EndDate
        )
    )
    you have to set the start date and end date.
     
    BBF
    • Romani's avatar
      Romani
      Helper II

      step one achieved 
      what about step 2 

      2- if the total number of offers in january equal 10 so i want something to see the last step that the offer is stpped on it so for example should be 2 at offering first stage 3 are pending accceptane 5 are under investigation that could happen when trackin the different dates of this offer 
      • BeaBF's avatar
        BeaBF
        Super User

        Romani perfect! please explain the second step better, with an examploe on data

         

        BBF