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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
umairarshad
Helper II
Helper II

Dynamic Line chart problem

Hello all,

I am sorry if i posted it in the wrong section.

I am working on a data set.

It has pivot table. I make identical table to calculate the Liter per Hr 

Liter per Hr = Sum of Quantity/Sum of Hrs.

I use getpivot data in it.

umairarshad_0-1735715544812.png

 

I also make a line chart using the table.

The problem is when i select any GSE in GSE slicer, the chart goes wrong.

for example I seleted ACU in GSE slicer, the graph becomes wrong.

 

umairarshad_1-1735715785693.png

 when I uncheck #REF! then chart becomes correct.

 

umairarshad_2-1735715834523.png

 

umairarshad_3-1735715922154.png

 

But everytime, i have to uncheck #REF! whenever i select other GSE or months or station.

 

I want to display the valid chart only i.e. i do not want to filter #REF! everytime.

Need help.

 

 

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

Post your MS Excel questions here - Results in Microsoft 365 and Office - Microsoft Community


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi, @umairarshad 

As far as I know, this formula reports an error when the divisor is null, and this error indirectly affects the results of other slicers and charts:

 

vfenlingmsft_1-1735781907035.png

 

 

Please start a new discussion via the Office Community so that you can get dedicated support on this issue:

Results in Microsoft 365 and Office - Microsoft Community

 

Thank you for your understanding.

 

 

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.

umairarshad
Helper II
Helper II

anyone please help

umairarshad
Helper II
Helper II

I want to exclude #REF! in my chart

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.