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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Creating a horizontal/constant line in line chart using just one single number which changes daily

Hi all,

 

I have a data model consisting of one long fact table with different time series in it. I have one smaller dimension table which also includes some descriptive statistics for every time series. There is a relationship between both tables. 

 

The descriptive statistics in the dimension table are updated on a daily basis. I want to see some of these descriptive statistics in my line chart containing the time series of the fact table. For example: for one time series I want to add horizontal lines of the mean, mean plus standard deivation, mean minus standard deviation etc. These horizontal lines must be created from these single numbers. 

 

So to summarize: plot this descriptive statistic, which is just a single number in the dimension table, on the whole line chart. 

 

A possiblity would be to include a whole column with the same number in the fact table but this will result in performance issues.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

create measures that produce these constant values, and then add the measures to your line chart visual.

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

You can either have a legend or multiple values but not both.

Anonymous
Not applicable

Ah that is unfortunate but thank you for your answer. 

lbendlin
Super User
Super User

create measures that produce these constant values, and then add the measures to your line chart visual.

Anonymous
Not applicable

How do I add a measure to my line chart visual? As the axis, legend and values fields are already filled with other data

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors