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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Celeana
Regular Visitor

Count vs displaying value in graph

I am trying to generate a line graph but instead of getting an actual value, I get the count value.  How do I fix the issue? THANK you!

 This is my data:

Celeana_0-1764715170208.png

This is the graph I am getting

Celeana_1-1764715247649.png

This iare my columns:

 

Celeana_2-1764715284859.png

More info:

 

Celeana_3-1764715381545.png

 

1 ACCEPTED SOLUTION
Anand24
Super User
Super User

Hi @Celeana,
If you are creating a line graph and taking month column (Text datatype) in Y-Axis or Secondary Y-Axis, Power BI is correctly showing the count.

 

Y-Axis of line chart should be a numeric field and hence you should take a numeric column in it. If you take any text column, Power BI will auto-convert it to count since you can't ideally visualize a text value on lines because it won't give you a data point for the graph to render.

 

For example, If you want to analyze month-wise total used or total remaining, your Y-Axis would be total used or total remaining column while you X-Axis would be Month.

Here's another example:

Anand24_0-1764718363423.png

 

 

 

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

View solution in original post

11 REPLIES 11
danextian
Super User
Super User

Hi @Celeana 

You've added an implicit measure but you didnt tell what category this measure  needs to be broken down into. Your X-axis is empty.

 

Note: Your Month column is a text string and will be sorted alphabetically, April being the in the first order. Use a date equivalent of that column.

danextian_0-1764760160448.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thank you for the date equivalent recommendation.

ryan_mayu
Super User
Super User

@Celeana 

what's the expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




I am getting this:

 

Celeana_2-1764796044820.png

 

The expected outcome is the following: 

 

Celeana_0-1764795736169.png

 

I didn't see company data in the screenshot of your data. Is this data in the same table or other table?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anand24
Super User
Super User

Hi @Celeana,
If you are creating a line graph and taking month column (Text datatype) in Y-Axis or Secondary Y-Axis, Power BI is correctly showing the count.

 

Y-Axis of line chart should be a numeric field and hence you should take a numeric column in it. If you take any text column, Power BI will auto-convert it to count since you can't ideally visualize a text value on lines because it won't give you a data point for the graph to render.

 

For example, If you want to analyze month-wise total used or total remaining, your Y-Axis would be total used or total remaining column while you X-Axis would be Month.

Here's another example:

Anand24_0-1764718363423.png

 

 

 

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

Anand24
Super User
Super User

Hi @Celeana,
If you are creating a line graph and taking month column (Text datatype) in Y-Axis or Secondary Y-Axis, Power BI is correctly showing the count.

 

Y-Axis of line chart should be a numeric field and hence you should take a numeric column in it. If you take any text column, Power BI will auto-convert it to count since you can't ideally visualize a text value on lines because it won't give you a data point for the graph to render.

 

For example, If you want to analyze month-wise total used or total remaining, your Y-Axis would be total used or total remaining column while you X-Axis would be Month.

Here's another example:

Anand24_0-1764718363423.png

 

 

 

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

Celeana_1-1764797956028.png

 

I changed Total used from text to whole number and it fixed the issue

Celeana_0-1764797934490.png

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.