Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I have the date in my data, need to find the age as on day in Bewlow Format.
Sample
Date: 05/17/2018
Age as on Day : 1 Years, 0 Months (Format)
Regards.
Solved! Go to Solution.
Something like this?
Measure = VAR TodaysDate = TODAY() VAR MonthDiff = DATEDIFF ( SELECTEDVALUE ( Table1[date] ), TodaysDate, MONTH ) RETURN INT ( DIVIDE ( MonthDiff,12 ) ) & " years, " & MOD ( MonthDiff,12 ) & " months"
Something like this?
Measure = VAR TodaysDate = TODAY() VAR MonthDiff = DATEDIFF ( SELECTEDVALUE ( Table1[date] ), TodaysDate, MONTH ) RETURN INT ( DIVIDE ( MonthDiff,12 ) ) & " years, " & MOD ( MonthDiff,12 ) & " months"
Thanks a lot it worked.
Hi,
Try this calculated column formula
=INT((TODAY()-[Date])/365)&"years, "&INT(MOD((TODAY()-[Date]),1))&" months"
Hope this helps.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 78 | |
| 66 | |
| 65 |