Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
Hi,
The company I work for uses 4-digit week identifier where the first two digits represent the year, the second two represent the week. so, for example 2201 is week one of 2022 and 2301 is week one of 2023.
I have built some visuals the use this numbering system on the x axis, it was working well until the beginning of the new year, now the visual has lots of white space between weeks 2252 and 2301, I have been trying to filter this out, so it continues to run on without this gap.
I have tried multiple things on the standard visual filters without success, my attempts at using DAX have also not worked am I missing something or is this a case of just accepting this is how it’s going to look going forward.
I am new to DAX with only a basic knowledge currently.
Thanks in advance for any insights offered
Solved! Go to Solution.
Change your x axis from continuous to categorical. (you will have to reapply the sort by x axis after that)
Change your x axis from continuous to categorical. (you will have to reapply the sort by x axis after that)
So I tried on the original visual as you described. I could not get it to sort back into the week category order, I think it is because I have multiple data points for each category grouping. I switched my data sources to one where I have one data point per week category, and it worked.
Thank you for the help
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
57 | |
55 | |
55 | |
37 | |
30 |
User | Count |
---|---|
78 | |
64 | |
45 | |
43 | |
40 |