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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
MarkD1722
Helper I
Helper I

How do I know I have a scalar data type? Can I change it to a scalar data type?

I am trying to get the chart below to be a fixed width such that the columns will get smaller with each new set of data added to the data table, and then I can get rid of the slider/scroll bar for the x-axis.  I do not have that option available (like I do in another chart elsewhere).  In order to have that option, I need to switch the scale from categorical to continuous.  But, I need to have a scalar data type to have the option.  How do I change my data type to a "scalar" one?  The current data is from a measure.  I have another combination line and stacked column chart that does this perfectly (mentioned this earlier), but I don't understand the difference(s) between the two data sets to know what to do with this "non-scalar" one.

Thanks in advance for any insights and help you can provide.

MarkD1722_1-1724083168714.png

 

 

1 ACCEPTED SOLUTION
NaveenGandhi
Super User
Super User

Hi @MarkD1722 

Just change the date hierarchy to date using as per the below screenshot, Then you will have the x axis type option enabled.

NaveenGandhi_1-1724084674698.png

 


As far as the scalar value, Anything that comes from a measure(a single number instead of a column of values) is a scalar value, Having date hierarchy might be considered non scalar. Not exactly sure about it though.


let me know if this helps 

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Follow me on LinkedIn!!!


View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

Auto Date Time hierarchies should not be used beyond beginner level.  Use the Date field and let the visuals do the hierarchy for you.  Use a Calendar table in your data model.

NaveenGandhi
Super User
Super User

Hi @MarkD1722 

Just change the date hierarchy to date using as per the below screenshot, Then you will have the x axis type option enabled.

NaveenGandhi_1-1724084674698.png

 


As far as the scalar value, Anything that comes from a measure(a single number instead of a column of values) is a scalar value, Having date hierarchy might be considered non scalar. Not exactly sure about it though.


let me know if this helps 

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Follow me on LinkedIn!!!


That's it!   Thank you.  I understand that now...that hierachy must put the data in an array format... which is not scalar.  Does that make sense?

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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