The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
65 | |
60 | |
60 | |
53 | |
27 |
User | Count |
---|---|
181 | |
88 | |
70 | |
48 | |
46 |