Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
When using the dateadd function, I am able to select the column names from the drop down list. But when I am using the datediff fucntion, I am not seeing the dropdown list and am not able to select the column names. Please advise. Thank you.
(Here are the screenshots for your reference.)
Solved! Go to Solution.
Hi, @Anonymous
I assume you want to create a measure, not a column.
Please try to write something like below.
DATEDIFF ( MAX(
DATEDIFF ( MIN(
DATEDIFF ( SELECTEDVALUE(
...
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi, @Anonymous
I assume you want to create a measure, not a column.
Please try to write something like below.
DATEDIFF ( MAX(
DATEDIFF ( MIN(
DATEDIFF ( SELECTEDVALUE(
...
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi Jihwan,
Thank you for your reply. I have managed to work around it by using the average function. But I have also tried your "DATEDIFF ( SELECTEDVALUE( " suggestion and it works as well. Thank you!
User | Count |
---|---|
106 | |
86 | |
81 | |
73 | |
71 |
User | Count |
---|---|
112 | |
100 | |
98 | |
72 | |
66 |