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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.