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
Anonymous
Not applicable

Line chart displaying last summarized value(no matter value is summarized or not)

Hi All,

 

I have a table of data that is populated using some calculated columns. I want to draw the line chart out of some specific values from this data but all I am seeing is the last summarized value in the form of dot only and not a proper trend line for every date I have in the tabular data.

 

Here is my tabular dataset:

Total Scope (Pts)Actual Burndown (Pts)Theoretical Burndown (Pts)Dev Complete (Pts) Trending DateProject Start of the Testline
2032032032032/18/20186/15/2018
2032031912032/25/2018 
2032031781513/4/2018 
2272081661563/11/2018 
2272031541513/18/2018 
2532291421573/25/2018 
2592271301304/1/2018 
259227117894/8/2018 
266210105924/15/2018 
26616593874/22/2018 
26411280454/29/2018 
2647668455/6/2018 
2645056335/13/2018 
2644544335/20/2018 
23103205/27/2018 
23101906/3/2018 
2310706/10/2018 
2310 00 6/17/2018 
 231 0 0 0 6/24/2018 
 231 0 0 0 7/1/2018 
 231 0 0 0 7/8/2018 

 

I want to display on line chart using Trending dates till the "Projected Start of the Testline" date and on Values I want the rest of the columns. The line chart what I am seeing from my visual is this:

 
 

From tabular display of line chart just below it, it is clear that line chart is not drawing individual values based upon trending dates. Instead, it is drawing just the Summarized values I guess.

Linechart.jpg

 

However, In Excel, it is fairly simple and I could draw this figure using range of values:

ExcelChart.jpg

 

So, this is clearly different one than what I see in Power BI. Is there any way I could draw and see the Excel Line chart(last figure) in Power BI?

 

Any help would be highly appreciated.

 

Thanks,

Nitin

1 ACCEPTED SOLUTION

@Anonymous :
It's because your 'Project Stat of The Testline' column is incorect.

 

Try to store this data in a separate Measure  (eg.: Project_Start_of_The_Testline_Measure = Date(2018,03,15) )

And create another one which can be used as filter on the visual:

 

Filter_Measure = 
if( min( Trending Date) > Project_Start_of_The_Testline_Measure, 1, 0)

Once you have the filter you can apply it on the visual:

P_D_G_0-1601884873911.png

 

See attached PBIX file if needed.

 

Please try to read and understand the data structure logic working behind PBI, it's different from Excel.

View solution in original post

12 REPLIES 12
P_D_G
Resolver III
Resolver III

hi @Anonymous ,

 

As you can see the X axis values show a so called date hierarchy so you can easily sum it up by Day/Month/Quarter/Year.

If you remove Y, Q, M levels you will end up having a actual day level date on your chart. 

P_D_G_0-1601883650291.png

 

Alternative solution, keeping the data hierarchy intact you can naviget thrugh the hierarchy using the following buttons on your line chart.

 

P_D_G_1-1601883674094.png

 

Hope it helps,

PDG

 

Anonymous
Not applicable

Drilling it down using arrows gives me error:

nitin_bhatnagar_0-1601884036896.png

 

@Anonymous :
It's because your 'Project Stat of The Testline' column is incorect.

 

Try to store this data in a separate Measure  (eg.: Project_Start_of_The_Testline_Measure = Date(2018,03,15) )

And create another one which can be used as filter on the visual:

 

Filter_Measure = 
if( min( Trending Date) > Project_Start_of_The_Testline_Measure, 1, 0)

Once you have the filter you can apply it on the visual:

P_D_G_0-1601884873911.png

 

See attached PBIX file if needed.

 

Please try to read and understand the data structure logic working behind PBI, it's different from Excel.

Anonymous
Not applicable

Thanks @P_D_G . I think your solution will work for me :)... Creating another measure as a filter and use it on the visual. I will try this soon and once done will mark it as a solution. Thanks again for your nice help. You made my day 🙂

 

Best Regards,

Nitin

as Vanessa stated, click the little arrow in the visualization pane next to trending date and select date rather than heirarchy.

Anonymous
Not applicable

Selecting "Trending Date" instead of "Date Hierarchy" gives me the below figure:

nitin_bhatnagar_0-1601884372890.png

This is still different than the one I wanted.

One point to reiterate here is that I wanted to plot data till "Projected Start of the Testline" date. I tried using filters but still I am not able to get even close to the one I get in Excel as attached in my original post. Any more ideas please? Thanks.

Anonymous
Not applicable

Is there any way to filter visual based upon a formula like: Where "Trending Date <= Projected Start of Testline"?

 

Because, In visual I just see the static values you can select for individual field like day, month, year etc.

mpicca13
Resolver IV
Resolver IV

the image you posted shows your power bi visual in the context of year. 

There's a drill down button on the visual on the top right hand side. Looks like an upside down fork. Click that and it will take you to the date range in the visual which is at the bottom of the hierarchy.

 

If you don't want to view your visual in context of year or month then just. Go to the visualization pane on the right hand side of the screen and click the little x next to "Year" and "Month" in the axis field.

vanessafvg
Super User
Super User

you can either just use the date rather than the date hierarchy, ie drop the date hierarchy down in the visual section and change it to a date only, or use the drill down function - arrows at the top of your visual to get a more granular picture




If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

I don't see any Date field for "Trending Date". Just the "Date Hierarchy" is mentioned under "Trending Date". And drilling it down gives me "Error".

You can drag and drop Day values from this list, opening the Date Hierarchy:

P_D_G_0-1601884033657.png

 

where it says trending date, and then year month day, next to the words trending date is a down arrow, drop that down and change it from hierarchy to date





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




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.