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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
kitti
Helper III
Helper III

Control chart shows months

Hi experts,

 

I have a control chart which shows data by data point but I want to add grouped by months data to X axis as well.

 

 

Existing: only have data point as X axis

1.png

 

I would like my control chart to show months of the data like this:

2.png

 

 

 

My data looks like this where 1st col is value, 2nd col is data point, and 3rd col is date

 

3.png

 

 

Any recommendation would be appreciated

Regards,

KL

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Add a calculated column with dax formula is : 

MonthYear = FORMAT('Table'[Date_in],"mmm-yy")Date_in(data type must be date/time)Date_in(data type must be date/time)

Then use this column in the visual for the reporting.

View solution in original post

Hi All,

 

I have tried but the result is still not satisfied. However, I negotiated with users to just have a tooltip for showing month, year.

 

And this, I used @Anonymous's calculated column to be on the tooltip.

kitti_0-1597022560612.png

 

 

Thanks all for your suggestion,

KL

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Add a calculated column with dax formula is : 

MonthYear = FORMAT('Table'[Date_in],"mmm-yy")Date_in(data type must be date/time)Date_in(data type must be date/time)

Then use this column in the visual for the reporting.

@Anonymous 

 

I just did it but the result is not what I want.

 

Original result with data point

1.png

 

 

Result with MonthYear

2.png

 

 

I want the data to show like the data point capture but the X axis shown as MonthYear capture. Could you please help?

 

 

Regards,

KL

@kitti , Create a date hierarchy as per your need. And then in drill down use expand(reverse square Y) and try

 

create a new hierarchy
https://www.tutorialgateway.org/create-hierarchy-in-power-bi/
https://www.youtube.com/watch?v=x6vXVJZ_eTY

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi All,

 

I have tried but the result is still not satisfied. However, I negotiated with users to just have a tooltip for showing month, year.

 

And this, I used @Anonymous's calculated column to be on the tooltip.

kitti_0-1597022560612.png

 

 

Thanks all for your suggestion,

KL

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.