Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I need to calculate date range dynamically, so I have created a text box like below based on creation date:
and now I can get that value using the below DAX:
To Date = SELECTEDVALUE(Data[Creation Date], Data[Max First Touch Date])
Now I have a drop down value of number of date difference like below:
and have got the value in a measure using the dax:
Day No Selected = format(SELECTEDVALUE('Day No'[Day No],1), "#")
So my requirement is to calculate the 'From Date' when like below:
Selected Creation Date + Selected Day No.
so how can I achieve it? please help
Solved! Go to Solution.
So my requirement is to calculate the 'From Date' when like below:
Selected Creation Date + Selected Day No.
so how can I achieve it? please help
Dates are stored internally as the number days since 31 Dec 1899 , so to add a given number of days to a date you can pretty much just write it exactly how you have it in your requirement
From Date = [Selected Creation Date] + [Selected Day No]
Hi,
I have created a measure like this:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |