Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have the below formula in Business Objects, how do i convert it in PBI?
Days for Approval (Numeric)
=DaysBetween([Created];ToDate(FormatDate([Approved Date];"MM/dd/yyyy");"MM/dd/yyyy"))
Days for Approval
=If (IsNull([Approved Date])) Then "Not Approved" Else DaysBetween([Created] ;ToDate(FormatDate([Approved Date];"MM/dd/yyyy");"MM/dd/yyyy"))
Thank you in advance.
Solved! Go to Solution.
Hi @Anonymous
I have not worked with BO, but I would still give it a shot:
Here the DAX for a calculated columns:
Days for Approval (Numeric) = DATEDIFF ( 'table'[Created], 'table'[Approved Date], DAY )
Days for Approval =
IF (
'table'[Approved Date] = BLANK(),
"Not Approved",
DATEDIFF ( 'table'[Created], 'table'[Approved Date], DAY )
)
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
Hi @Anonymous
I have not worked with BO, but I would still give it a shot:
Here the DAX for a calculated columns:
Days for Approval (Numeric) = DATEDIFF ( 'table'[Created], 'table'[Approved Date], DAY )
Days for Approval =
IF (
'table'[Approved Date] = BLANK(),
"Not Approved",
DATEDIFF ( 'table'[Created], 'table'[Approved Date], DAY )
)
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
It worked Thank you. 🙂
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 94 | |
| 70 | |
| 50 | |
| 40 | |
| 39 |