Forum Discussion

IIgiwa's avatar
IIgiwa
Frequent Visitor
5 years ago
Solved

Control Date Range Within A Dax formula using Slicer

Hi All,

I have the below dax formula

Total Applications  = CALCULATE(COUNT('Stage - Application'[LoanID]),CREATIONDATE = DATESBETWEEN()  )
I want to be able to alternate the creationdate range within the dax IN DATESBETWEEN using a slicer. Is this possible? I want a situation when i change the date on the slicer it affects the date range inside the dax formula
  • Hi IIgiwa ,

     

    Here is the sample, you can drop 'Stage - Application'[creationdate] to slicer.

     

    If not solved, please provide your sample or screenshots.

     

    Best Regards,

    Link

     

    Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

3 Replies

  • selimovd's avatar
    selimovd
    Icon for Most Valuable Professional rankMost Valuable Professional

    Hey IIgiwa ,

     

    how is your date table connected with the 'Stage - Application' table?

    If it's by column 'Stage - Application'[creationdate] then you don't need any DAX. Just use a slicer with the date from the date table and your data will automatically filter to the desired data.

     

    If you need any help please let me know.
    If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
     
    Best regards
    Denis
     
    • IIgiwa's avatar
      IIgiwa
      Frequent Visitor

      Hi selimovd ,

      Thanks for your reply. 

      The date table is by Stage - Application'[creationdate]. I had tried it like you suggested but it didn't work. I used data from the Stage - Application to set up a table for a funnel process and the first stage of the funnel is Total Applications. So i want to be able to look at the funnel at different time periods 

  • v-xulin-mstf's avatar
    v-xulin-mstf
    Icon for Community Support rankCommunity Support

    Hi IIgiwa ,

     

    Here is the sample, you can drop 'Stage - Application'[creationdate] to slicer.

     

    If not solved, please provide your sample or screenshots.

     

    Best Regards,

    Link

     

    Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!