Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
CaveOfWonders
Helper IV
Helper IV

Weekly Data with Monthly X-Axis with a Line and Clustered Column Chart

Hi All,

 

PBIX file.

 

Below is an image of what I’m trying to replicate. Essentially, I want the granularity of the bars to be weekly but the x-axis to only show Monthly. As an example, I have highlighted the month of October in Power BI which is showing five different dates for each week. In excel you can show weekly bars but monthly dates on the x-axis. Is this possible?

 

Screenshot 2022-02-14 092102.png

 

Thank you.

1 ACCEPTED SOLUTION
ALLUREAN
Solution Sage
Solution Sage

Hi, @CaveOfWonders 

 

Is that what you want?

https://www.dropbox.com/s/rzhdf7oidb46w1w/Sample%28allure-analytics.com%29.pbix?dl=0

 

weeks.png

 

Did I answer your question? Please Like and Mark my post as a solution if it solves your issue. Thanks.

Appreciate your Kudos !!!

https://allure-analytics.com/

https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA

https://www.linkedin.com/company/77757292/




Did I answer your question? Mark my post as a solution!


https://allure-analytics.com/
https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA
https://www.linkedin.com/company/77757292/

Proud to be a Super User!




View solution in original post

4 REPLIES 4
TomMartens
Super User
Super User

Hey @CaveOfWonders ,

 

in addition to the solution @ALLUREAN provided you may find this article useful:

Improving timeline charts in Power BI with DAX - SQLBI

 

Basically, if the x-axis is considering the labels as categorical, it's not possible to use a different granularity for the data points and the axis labels. For this reason, it becomes necessary to use continuous values:

image.png

Hopefully, this adds additional insights.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
ALLUREAN
Solution Sage
Solution Sage

Hi, @CaveOfWonders 

 

Is that what you want?

https://www.dropbox.com/s/rzhdf7oidb46w1w/Sample%28allure-analytics.com%29.pbix?dl=0

 

weeks.png

 

Did I answer your question? Please Like and Mark my post as a solution if it solves your issue. Thanks.

Appreciate your Kudos !!!

https://allure-analytics.com/

https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA

https://www.linkedin.com/company/77757292/




Did I answer your question? Mark my post as a solution!


https://allure-analytics.com/
https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA
https://www.linkedin.com/company/77757292/

Proud to be a Super User!




How did you create the Start of Week column in your Date table?

Can't believe how simple that was. Thank you 😊

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors