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! Request now
i created a clalender table used date hierarchy in axis in Line chart. In calender table having for 10 years. i need to show every month enrollments for every year separately.
but for getting every months enrollments all years is getting in line chart. how to resolve this in Power BI.
Solved! Go to Solution.
@Anonymous , Not very clear. Create a month year column in date table and use that.
Month Year = FORMAT([Date],"mmm-yyyy")
Month Year sort = FORMAT([Date],"yyyymm")
Hi @Anonymous ,
Try to create a year month column as the X axis:
Year_month = FORMAT('Table'[Date],"YYYY-MM")
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Not very clear. Create a month year column in date table and use that.
Month Year = FORMAT([Date],"mmm-yyyy")
Month Year sort = FORMAT([Date],"yyyymm")
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!