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! Learn more
Hi,
I have determined the distinct count of clientnumbers for two years 2022 and 2023. For which I used two measures:
Hi @DataNinja777 ,
I already have a calender table, but I have no idea how to achive the required output.
Hi @HAW ,
You can achive your required output in multiple ways using Power BI, but I would recommend you to utilize a calendar table and create a relationship between your fact table and the calendar table instead of using OR condition to filter the half year periods for 2022 and 2023. A calendar table can be written in the following manner for example.
Calendar = addcolumns(calendar(date(2022,01,01),date(2023,12,31)),"yyyy-mm",format([Date],"yyyy-mm"))
Best regards,
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.