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
ricardocamargos
Continued Contributor
Continued Contributor

Average Line with "Show items with no data"

Hi there,

 

Has anyone faced a situation like this ?? :

 

I have a average line from Analytics pane, also I selected the option "Show items with no data". The average value is not considering 7 months, just 6.

 

Capture.PNG

 

Thank you,

 

Ricardo

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @ricardocamargos,

 

Yes, I reproduced your situation. I think this has nothing to do with right or wrong. It's something about how the average line is designed. There could be a workaround.

1. Replace the null value with 0 in the data table.

2. Or modify the measure like this:

Measure =
VAR MValue = SUM ( Table1[Column2] ) RETURN IF ( ISBLANK ( MValue ), 0, MValue )

3. If you want the Analysis lines work in another way, please submit or vote an idea here: https://ideas.powerbi.com.Average Line with Show items with no data .jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

 

 

Community Support Team _ Dale
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

1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @ricardocamargos,

 

Yes, I reproduced your situation. I think this has nothing to do with right or wrong. It's something about how the average line is designed. There could be a workaround.

1. Replace the null value with 0 in the data table.

2. Or modify the measure like this:

Measure =
VAR MValue = SUM ( Table1[Column2] ) RETURN IF ( ISBLANK ( MValue ), 0, MValue )

3. If you want the Analysis lines work in another way, please submit or vote an idea here: https://ideas.powerbi.com.Average Line with Show items with no data .jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

 

 

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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