Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

How to get user selected date as a variable in DAX

Hello everyone,

 

I have created DAX queries to calculate counts of various records. These DAX queries works based on last_week_start_date, last_week_end_date, next_week_start_date and next_week_end_date. 

 

I was thinking is there a way I can accept user input for these 4 variables so that I no need to hardcode any dates in DAX.

 

Thanks,

Karthik

3 Replies