The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 Decimal Number in the semantic model. However, when I try to create a bar chart, I can drag and drop Brand onto the X-axis, but I cannot drag and drop Sales onto the Y-axis.
Does anyone know why this might be happening and how I can resolve it? Any help would be greatly appreciated!
Solved! Go to Solution.
hi @gori137 To fix the issue:
Set Summarization: Go to the Sales column in the Model view. Set Summarization to "Sum" (or another aggregation).
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.
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
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.
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.
Hi @gori137 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @gori137 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Regards,
Menaka.
Hi @gori137 ,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
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
hi @gori137 To fix the issue:
Set Summarization: Go to the Sales column in the Model view. Set Summarization to "Sum" (or another aggregation).
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.
User | Count |
---|---|
37 | |
14 | |
12 | |
12 | |
8 |
User | Count |
---|---|
49 | |
36 | |
22 | |
22 | |
18 |