Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Mates,
When I am trying to use the DATEDIFF function in the new column in a selected table then I am getting a value of 44778.
DAX Function in the column is:
Case3 = IF( 2021 <> 2022 && 2022 = 2022 ,DATEDIFF(Sheet1[STARTofYR],TODAY(),DAY), 0)
Quick Measures
[STARTofYR] = DATE(Sheet1[Selected Year],01,01)
[Selected Year] = SELECTEDVALUE(Calender[Date].[Year])
I am getting a value of 44778.
Can someone help me with the problem?
Thank You for the help in advange.
Solved! Go to Solution.
Hi, @Akash18
Calling measure in a calculated column is not recommended.
Please convert 'Case3' into a new measure and display its result in a card/table visual.
Best Regards,
Community Support Team _ Eason
Hi, @Akash18
Calling measure in a calculated column is not recommended.
Please convert 'Case3' into a new measure and display its result in a card/table visual.
Best Regards,
Community Support Team _ Eason
Yes.
Hi!
Do you display values of this measures?
[STARTofYR] = DATE(Sheet1[Selected Year],01,01)
[Selected Year] = SELECTEDVALUE(Calender[Date].[Year])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |