cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
IIgiwa
Frequent Visitor

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
1 ACCEPTED SOLUTION
v-xulin-mstf
Community Support
Community Support

Hi @IIgiwa ,

 

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

vxulinmstf_0-1625794670321.pngvxulinmstf_1-1625794682222.png

vxulinmstf_2-1625794799692.png

 

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!

View solution in original post

3 REPLIES 3
v-xulin-mstf
Community Support
Community Support

Hi @IIgiwa ,

 

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

vxulinmstf_0-1625794670321.pngvxulinmstf_1-1625794682222.png

vxulinmstf_2-1625794799692.png

 

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!

View solution in original post

selimovd
Super User
Super User

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
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 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!