Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have the following table of data loaded into PowerBI:
The tables contains entries from 2017, 2018, and 2019.
I have created a stacked column chart displaying this data, with 'Raised/Closed' date as the Axis, and with date hierarchy set to month.
The issue is, this groups all months together regardless of year.
Is there a way to split up the chart to clearly show year? Or, to change the X-Axis to show 'Jan-18', 'Jan-19', etc?
Solved! Go to Solution.
Hey,
I guess this pbix file contains what you are looking for:
To achieve the above it's necessary switch off the property "Concatenate labels", use the Year and Month column on the x-axis and "Expand all down ..."
Of course it's also possible to use just the column "Year-MM" from the Calendar table.
Hopefully this is what you are looking for.
Regards,
Tom
Hey,
not sure what you are asking for, but it's maybe how I created both of the tables ...
The Calendar table is created by a DAX statement, just mark the table and the DAX formula bar shows the DAX statement.
The table "fact" has been created by using the function "Enter data" that is available from the Report view (top icon on the left side).
Home (menu) --> External Data (ribbon) --> Enter Data. What might confuses you if you are not familiar with the function "Enter data", this works just once ... After the initial input, and most of the time I want to or have to add more data or delete data - editing a table is different. For editing data, it's necessary to enter Power Query, then hit the gear icon of the Source step of the table you want to edit:
Hopefully, this is what you are looking for!
Regards,
Tom
Hey,
I guess this pbix file contains what you are looking for:
To achieve the above it's necessary switch off the property "Concatenate labels", use the Year and Month column on the x-axis and "Expand all down ..."
Of course it's also possible to use just the column "Year-MM" from the Calendar table.
Hopefully this is what you are looking for.
Regards,
Tom
Thanks TomMarteners , your solution is very helpful
I'm trying to accept it as a solution, but my browser won't let me... apologies
I got ahead of myself - how did you create the 'FieldListEntityCalculated' table? I'm unable to create on from fresh
Hey,
not sure what you are asking for, but it's maybe how I created both of the tables ...
The Calendar table is created by a DAX statement, just mark the table and the DAX formula bar shows the DAX statement.
The table "fact" has been created by using the function "Enter data" that is available from the Report view (top icon on the left side).
Home (menu) --> External Data (ribbon) --> Enter Data. What might confuses you if you are not familiar with the function "Enter data", this works just once ... After the initial input, and most of the time I want to or have to add more data or delete data - editing a table is different. For editing data, it's necessary to enter Power Query, then hit the gear icon of the Source step of the table you want to edit:
Hopefully, this is what you are looking for!
Regards,
Tom
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |