Forum Discussion
How to plot a constant value in a line chart
Hello All,
I have a line chart that displays how much electricty was used at each location for 5 days. The table has: Location, Date (5days), Time (each hour) and Value. I have plotted the visual with location,date, time in the x axis and Value in the y axis, filtered by location which works as expected.
I have a different table that has the legal limit value for each location that I want to add to the visual to show the outputs vs the limit. However, at the moment when I add the 'legal limit' value into the y axis , Im getting a total count of all the values and not the singular/constant value for each location? (showing as a straight line over time)
I have checked that the tables's relashionship is activated so I cant figure why it wont plot the singular value. Ive changed the data type too but no luck.
Any suggestions would be great, thank you.
- Anonymous4 years ago
Hi Anonymous ,
Please check the PBIX file.
If this does not work for you, could you provide a sample of data that does not contain sensitive data?
How to provide sample data in the Power BI Forum
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
2 Replies
- danextianSuper User
Hello,
Can you please post sample data of the two tables? Here's how it would be easier for the community to help you: https://community.powerbi.com/t5/Desktop/bd-p/power-bi-designer
- AnonymousNot applicable
Hi Anonymous ,
Please check the PBIX file.
If this does not work for you, could you provide a sample of data that does not contain sensitive data?
How to provide sample data in the Power BI Forum
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data