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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I've attached a link to my pbix file with some dummy data. Is there a way I can add just the pbix file?
My aim is to create a calculated column that how many items are going to be =>18mths as at 1st Apr 2024
I have already calculated this using todays date here:
Age in Mths = DATEDIFF(
Data[Created On],
NOW(),MONTH)
I have tried using DATEDIFF with "01/04/2024" but I was getting error messages about Text frmat and i should use FORMAT or VALUES.
This formaula does work but it returns 4 months for every row? My plan was to add this onto the Age in Mths column.
Once all this is done I would like to create a second column, replicating everything in the original column but factoring NETWORKDAYS & Bank Holidays into a second Age in Days2 and Age in Months2 column.
Can any show me where I'm going wrong?
Thanks
You need to format the date you're comparing to in a very specific way, see the example here:
The double quotes is interpreted as text, so it can't use it the way you've entered it.
Thank you, I'll give this a go
User | Count |
---|---|
97 | |
77 | |
77 | |
48 | |
26 |