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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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