Forum Discussion

gori137's avatar
gori137
Regular Visitor
1 year ago
Solved

Can't plot decimal number data type column to Y axis

Issue with Creating a Bar Chart in Fabric I have a simple table with the following data: Brand Sales A 244,000 B 150,000 C 550,000 I changed the data type of the Sales column to De...
  • rohit1991's avatar
    1 year ago

    hi gori137  To fix the issue:

    1. Set Summarization: Go to the Sales column in the Model view. Set Summarization to "Sum" (or another aggregation).

    2. Check Chart Settings: Drag Sales to the Y-axis and ensure "Sum" or a valid aggregation is selected.

    This ensures Sales is treated as a measure and can be plotted.

     
  • SaiTejaTalasila's avatar
    1 year ago

    Hi gori137 ,

     

    Although you set the data type to Decimal Number, there might be inconsistencies in the semantic model or data load process that prevent Power BI from recognizing it as a numerical field.

    Check this -

    Go to Model view in Power BI.

    Check the Data Type and ensure it’s correctly set to Decimal Number.

    If it’s correct, refresh the dataset in Power BI Desktop or Fabric and try again.

     

    Thanks,

    Sai Teja 

  • v-menakakota's avatar
    1 year ago

    Hi gori137 ,

    Thank you for reaching out to us on the Microsoft Fabric Community Forum.

    As rohit1991 mentioned, try to check the chart settings, drag the "Sales" field to the Y-axis of the chart. Choose "Sum" or another suitable aggregation method from the available options.
    It worked for me. Here is the screenshot for better understanding:

     


    If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.