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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
chrisgehm
Helper III
Helper III

Don´t sumarize percent in chart

Hi eveyone!

I'm having troubles with 2 tables and a line chart.

 

The first table (Table1) has this columns:

Date - Manager - Value1 - Value2 - Value3

 

The second table (Table2) has this columns:

Date - Value - Target

 

So what I need is to show a line with the average of Value1 for everyone of the managers (per month), and in other line of the same chart the Target per month for Value1.

 

The first part it's easy and it works fine, but when I want to add the second line for the Target it only shows if I make the sum, avg, max, min, etc. and not the real target.

 

Is there any way to show the average of Value1 and its target per month in the same chart?

 

Note: in both tables, the column "Date" is always the last day of the month.

 

Kind regards! 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

So, in Table2, do you only have one Target per month? If so, then it shouldn't matter if you use an aggregation, they should all return the same thing if your axis is [Date].[Month]


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

So, in Table2, do you only have one Target per month? If so, then it shouldn't matter if you use an aggregation, they should all return the same thing if your axis is [Date].[Month]


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler Hi, thanks for the answer!

 

Actually, now I have the following problem:

 

Captura.PNG

As you can see, the line is showing the right value, but it's not in the correct possition, it should be near the bars. (Lines are 55 and 60, but they are bellow 20 and in 90)

@Greg_Deckler got the solution!

Captura.PNG
Thanks!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors