The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have to create the datediff between the 'project from date' and 'today' in days.
However I am not able to specify 1st date parameter column.
Is there a way I can calculate difference between 2 dates?
Solved! Go to Solution.
Hi @chaitanyajiwani ,
There are two solutions:
1.Please create a new column:
Column = DATEDIFF('Table'[project from date],TODAY(),DAY)
2.Please create a new measure:
gap = DATEDIFF(MAX('Table'[project from date]),TODAY(),DAY)
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @chaitanyajiwani ,
Has your problem been solved? If solved, please consider Accept it as the solution to help the other members find it more quickly.
Hi @chaitanyajiwani ,
There are two solutions:
1.Please create a new column:
Column = DATEDIFF('Table'[project from date],TODAY(),DAY)
2.Please create a new measure:
gap = DATEDIFF(MAX('Table'[project from date]),TODAY(),DAY)
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@chaitanyajiwani ,Try this
DATEDIFF(TableName[Proj Start Date Column],Today(),DAY)
I tried that, but I am not able to add the first date parameter is i.e. 'Project From Date' column.
Hi @chaitanyajiwani
Please try
DATEDIFF ( SELECTEDVALUE ( TableName[Proj Start Date Column] ), Today ( ), DAY )
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
77 | |
72 | |
47 | |
39 |
User | Count |
---|---|
138 | |
108 | |
69 | |
64 | |
57 |