Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
hi all,
i am trying to learn more about power bi desktop. i created a stacked column chart.
in the x-axis section there is a field named "type". it has 2 options continuous and categorical.
i selected each option and the only thing i noticed was that the width of the columns changed.
i searched this forum, but couldn't find anything that explained these options.
i searched for an explaination of these options. the only page i found was this one, but it doesn't say what the options should be used for. it just says to select one or the other . . . duh!
i'd like to know if someone can give me a short description of what these options are for or what they mean of when to pick one over the other.
any help would be greatly appreciated.
thank you
tracy
Solved! Go to Solution.
@elz Here's the difference between the two in simpler terms.
Continuous axis is where values change continuously and you cannot count the number of different values. Examples include weight, price, counts etc. Basically anything you can measure or count. Categorical is where you make small number of categories. This includes type, gender, age group, etc.
@elz Here's the difference between the two in simpler terms.
Continuous axis is where values change continuously and you cannot count the number of different values. Examples include weight, price, counts etc. Basically anything you can measure or count. Categorical is where you make small number of categories. This includes type, gender, age group, etc.
Thanks for the clarification. Is there a way I can change the increment manually?
I want to have a 24 hr count on my X-axis (0, 1, 2, 3, 4, ... ) but the default increment is by 5 (0, 5, 10, 15, 20 ...) and I would like to change the increment to 1. I couldn't figure out how to do that.
I found some work arounds, one of them is to change Type from Continuous to Categorical. With that, the increment changes to 1 as desired, but the X-axis is displayed in reversed order, and I can only sort in descending order Z to A, but not in ascending order A to Z.
I opened a thread on this subject:
Any help appreciated. Thank you!
Hi Tracy,
Adding some additional information.
I think you have noticed the Note: “If the X-axis is string/Boolean, the Type option will not display.”
Then the available data type could be used here should be left with number and Date/Time. (Reference: Data types in Power BI Desktop)
When we put those two kind of data into X-Axis, the Type option would show up in Format, with Continuous, Categorical available.
Continuous, means the X-Axis would show the data in a natural growth order, like 1,2,3,…… regardless of the Y-Axis data;
While Categorical would only show the part which have values based on Y-Axis, those part of X-Axis with no values in Y-Axis, would be removed.
Regards
You can customize your chart according to your data type.
Thanks & Regards,
Bhavesh
User | Count |
---|---|
127 | |
108 | |
99 | |
63 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |