cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Niharika_C
Microsoft
Microsoft

Data Lables Repeating twice in Joining 2 Line Graph

Hi ,

 

I have Data in this Form .

 

Niharika_C_0-1674574577180.png

 

Till Dec i have COGS Actuals Data (Actual Values), where in from Jan 2023, i have COGS Projected ( these are Predicted Values).

 

For an Instance, If i represent the same data as a Line Graph, Taking the Actual Values as a Solid Line and Projected Column values in a Dotted Line, 

I wanted to Represent the Pojected column in a Dotted line as they are Future Predictions Value.

So, im getting the graph in the below way.

 

Niharika_C_1-1674574744766.png

There is a Gap Between 2 Lines (Solid Line and projected Line )

 

So, in order to Avoid that Line Gap, i have duplicated the Dec data value from the Actual Data Column in the Predicted column like below.

 

Niharika_C_2-1674575014524.png

So, when i Duplicate the Dec Data Value from Actuals coumn to Projection column, there is a Continuous Line Graph for the Visual like below.

 

Niharika_C_3-1674575089796.png

 

Got the Continous line Actuals and Projections.

 

 

But, In Graph, for the Dec month, i could see the Data Lables are being duplicated and Occuring twice like below.

 

Niharika_C_5-1674575194266.png

 

 

So, i want only one data lable value for a Continous 2 Lines Graph. I dont want the Data Lables to be Duplicated and shown Twice.

Need help ASAP on this.

 

Thanks in Advance.

 

1 REPLY 1
amitchandak
Super User
Super User

@Niharika_C , That will one line only when you have single measure

 

sum(Table[COGS Actual])  + Sum(Table[COGS Projected])

 

If they are measures no need to use sum

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors