Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi All,
The requirement is i have to remove days(Time) from Date column with DAX(calculated column or measure)
Time Column - Text
Date Column - Date(dd-mm-yy)
Example - if the Time column has 2,00 days, Date colum (17th Jan 22) = 17th jan 22-3days
the output should come - 15th Jan 22
Any advise please?
Thanks
Solved! Go to Solution.
I see,
the issue is with the format ",00" the most direct way to solve this would be to change the columns data type to number. Here is an dax alternative:
Proud to be a Super User!
Hi,
You can use e.g. MAX/SELECTEDVALUE combined with a simple subtraction:
dax:
Proud to be a Super User!
Hi @ValtteriN
Thanks for the solution. But can we convert same measure to calculated column?
beacuse when i am creating Measure . i am getting circular dependency error (if we use combination of more calcu,ated columns and measures their might be circular dependency) to avoid can we convert same measure to calculated column ??
i have tried to convert same into calculated column but it is giving incorrect result
Please advise
Hi ValtteriN
I have tried your formula - Getting incorrect result as below screenshot
Pleae advise further.
Thanks
I see,
the issue is with the format ",00" the most direct way to solve this would be to change the columns data type to number. Here is an dax alternative:
Proud to be a Super User!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |