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
VincentCWork
Frequent Visitor

Display all dates on a staked column chart

I'm trying to have all dates shown on the X-axis of a stacked column chart.

 

Couldn't find any setting to do so directly. The only thing I found was posts saying to change the x-axis from Continuous to Categorical. But if I do that, my data change drastically.

Columns seems to contain less different items and the total cost drop a lot. (Y-axis drop from about 3.5M to 0.5M).

VincentCWork_0-1684183507440.png


Any help on this topic would be greatly appreicated.

4 REPLIES 4
amitchandak
Super User
Super User

@VincentCWork , Use X-Axis type as categorical

 

Axis_type.png

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

My post is specifying that when I switch to Categorical the data change.

Top graph is with Continuous, second is Categorical.

The order of magnitude is about 7 time smaller and the data is distributed quite differently.

 

I did try extracting the year and then building the graph based on the year only (instead of the full date), but both Categorical (and Continuous) graphs are the same regarless of if I use only the year or the full date.

@VincentCWorkThe X-axis date value will be displayed based on the visual width and the number of records in this date column. I see you are trying to show more than 10 years of data. I would suggest you apply a date filter to show the last 2-3 years of data if that makes sense. Another option will be, Use data hierarchy (Year/Month/Day) with drill-down.

If I understand correctly, there is no way to display all the years (we do require all 18 years in our analysis)?

As you suggested, I did try using it in drill mode, but I get the exact same graph as the Continuous graph using only the year (i.e. only multiples of 5 shown)
Do you have any clues as to why the data changes when switching the type?

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!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.