Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
We have a Power BI Report with a line chart on it. The X-Axis is a date field. By default the (X-axis) Type is 'Continuous' and shows Jan-2024, Feb-2024, etc as the X-axis values. Please see screenshot below for example.
But, our users want the X-axis to display 1/31/2024 2/28/2024, 3/31/2024, etc - month-end dates.
We do have a 'month-end date' field in our Dates table - tried adding that but didn't work - kept repeating same month-end date for every day of the month.
Also, have changed X-axis Type to 'Categorical' but then it also displays every date. Need to set some interval to only show every month.
How can this be done? Seems like it should be possible.
Thanks,
Dan
Solved! Go to Solution.
DAX:
DAX:
I'm reasonably sure 'categorical' is the right choice with the EndOfMonth field in the x-axis field well.
Can you show what happens when you try that + a small data sample so I can test please?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
66 | |
65 | |
56 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
39 |