The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Given a field labeled "Start Date" with data of 11/5/2023 and a second field labeled "End Date" with date of 3/15/2025, how do I add columns of 2023 Month Count, 2024 Month Count and 2025 Month Count with expected results of 2, 12 and 3, respectively? I'm open to either Dax or PowerQuery examples whichever is most efficient would be preferred though. Thank you!
Solved! Go to Solution.
HI @Data5,
It sound like a common multiple date fields analysis requirement, I'd like to suggest you take a look at the following start/end date part if them suitable for your scenario:
Before You Post, Read This: start, end date
Regards,
Xiaoxin Sheng
Thanks for the suggestion. I ended up using the code below:
HI @Data5,
It sound like a common multiple date fields analysis requirement, I'd like to suggest you take a look at the following start/end date part if them suitable for your scenario:
Before You Post, Read This: start, end date
Regards,
Xiaoxin Sheng