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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
anoniem
Frequent Visitor

How to create a measure that references the values of a column for a line chart?

Hi everyone,

 

I'm working in a PBIX file that does not automatically recognizes table columns as numerical (i.e. the Sigma symbol in front of the value has disappeared, even though in the Power Query the column is decimal/numerical). I have read that this is because the PBIX file contains calculation groups.

 

If this was not the case, I would just be able to quickly drag the desired column/value into a visual, but this is now not possible.

 

To use a specific column I would have to now create a measure to use in the desired line graph. 

 

My problem is that I don't know which measure picks up the values as is. The Max and the Min measure only pickup the highest or the lowest value and I also can't use the Average measure.

 

I would like a measure that just converts a numerical column that isn't recognized as a numerical column, in order to use that as a line graph.

 

I would want the Period on the X-axis and the value on the Y-axis.

anoniem_0-1722946418963.png

 

Could somebody help me please?

Thank you

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @anoniem 

ray_aramburo 

You can create a Measure to do the calculation of Value as ray_aramburo says: 

Measure Value = 
SUMX('Table','Table'[Value])

 

Here are my test results: 

vfenlingmsft_0-1723105730408.png

 

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you. 

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
anoniem
Frequent Visitor

Hi both, it worked, thank you! Apparently I also had to use another column as the X-axis, which is why the measure didn't work at first

Anonymous
Not applicable

Hi, @anoniem 

ray_aramburo 

You can create a Measure to do the calculation of Value as ray_aramburo says: 

Measure Value = 
SUMX('Table','Table'[Value])

 

Here are my test results: 

vfenlingmsft_0-1723105730408.png

 

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you. 

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ray_aramburo
Super User
Super User

Try closing and reopening Power BI. If the issue persists then just create a simple SUM() measure on your column. Ensure as well that the column is stored as numerical column in the Model view.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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