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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
powellar
Regular Visitor

Creating Trends Over time

Hi there,

 

I am in the process of building a report which can be used to show data for a snapshot in time (easy and done) and then trends over the course of other excel sheets. I have Plan of Action and Milestones data for a number of systems that I can export out ad hoc, but typcially do it weekly. I can import three of the weekly reports and have three week's worth of data in one report, but I can't figure out how to create a line chart for the trends of the data cumulatively. Example Closed POAMs week over week, Delayed POAMS. I feel like this can be easily done but I can't figure out how to do it. I can create three charts on one tab with each week's data, but combining them is the issue. So for example a trend graph showing completed POAMS over the three reports, or delayed poams over the weeks, etc.

 

Looking for something like this:

powellar_0-1725990269171.png

Sample data would be:
one file

POAM IDPOAM TitleDetailed Weakness DescriptionCreate DateDays Since CreatedStatusUser Identified Criticality
11test poam titletest weakness1/1/2024253DelayedHigh
12test poam titletest weakness3/1/2024193DelayedHigh
13test poam titletest weakness6/1/2024101In ProgressHigh
18test poam titletest weakness7/1/202471In ProgressLow
19test poam titletest weakness8/1/202440CompletedMedium
27test poam titletest weakness8/17/202424CompletedHigh

another file

POAM IDPOAM TitleDetailed Weakness DescriptionCreate DateDays Since CreatedStatus
11test poam titletest weakness1/1/2024239Delayed
12test poam titletest weakness3/1/2024179In Progress
13test poam titletest weakness6/1/202487In Progress
18test poam titletest weakness7/1/202457In Progress
19test poam titletest weakness8/1/202426In Progress
27test poam titletest weakness8/17/202410Completed

Last file

POAM IDPOAM TitleDetailed Weakness DescriptionCreate DateDays Since CreatedStatus
11test poam titletest weakness1/1/2024230Delayed
12test poam titletest weakness3/1/2024170In Progress
13test poam titletest weakness6/1/202478In Progress
18test poam titletest weakness7/1/202448In Progress
19test poam titletest weakness8/1/202417In Progress
27test poam titletest weakness8/17/20241In Progress

 

Thanks in advance!

5 REPLIES 5
Anonymous
Not applicable

Hi @powellar ,
Here are some steps you can try
Sample data
Table 1

Date Poam
8/21/2024 Poam1
8/21/2024 Poam2
8/28/2024 Poam3
8/28/2024 Poam4
8/28/2024 Poam5
9/4/2024 Poam6
9/4/2024 Poam7
9/4/2024 Poam8
9/4/2024 Poam9
9/11/2024 Poam10
9/11/2024 Poam11

Table2

Date Poam
8/21/2024 Poam1
8/21/2024 Poam2
8/21/2024 Poam3
8/28/2024 Poam4
8/28/2024 Poam5
8/28/2024 Poam6
9/4/2024 Poam7
9/4/2024 Poam8
9/11/2024 Poam9
9/11/2024 Poam10
9/11/2024 Poam11

Create measures

Difference = 
VAR _count = 
CALCULATE(
    COUNT('Table 1'[Date]),
    ALLEXCEPT(
        'Table 1',
        'Table 1'[Date]
    )
)
VAR PreviousCount = 
CALCULATE(
    COUNT('Table 1'[Date]),
    ALLEXCEPT(
        'Table 1',
        'Table 1'[Date]
    ),
    DATEADD('Table 1'[Date], -7, DAY)
)
RETURN
IF(
    ISBLANK(PreviousCount),
    _count,
    _count - PreviousCount
)
NextDifference = 
VAR NextDifference = 
CALCULATE(
    [Difference],
    ALLEXCEPT(
        'Table 1',
        'Table 1'[Date]
    ),
    DATEADD('Table 1'[Date], +7, DAY)
)
RETURN
IF(
    NextDifference = BLANK(),
    0,
    NextDifference
)
IsBreakingPoint = 
IF(
    [NextDifference] <= 0 && [Difference] >=0 || [NextDifference] >= 0 && [Difference] <=0 ||
    SELECTEDVALUE('Table 1'[Date]) = 
    CALCULATE(
        MAX('Table 1'[Date]),
        ALL('Table 1'[Date])
    ) ||
    SELECTEDVALUE('Table 1'[Date]) = 
    CALCULATE(
        MIN('Table 1'[Date]),
        ALL('Table 1'[Date])
    ),
    "Black",
    "White"
)

The above MEASURE is to determine if the point is a turning point or both ends of the end point
Enable datalables and apply the measure to value color

vheqmsft_0-1726039516757.png

vheqmsft_1-1726039553053.png

Final output

vheqmsft_2-1726039566241.png

In order for multiple tables to be realized on the same line chart, you need to create relationships between the tables

Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

 

Maybe? I can test out that code, but this doesn't appear to be using any of the sample data provided. I am more looking for trends of total poams opened, total poams closed, total poams delayed, over time. So a line chart showing on 1/1 1 poam was opened, on 3/1, now two poams are opened (the one from 1/1 and the one from 3/1), on 6/1 3 poams were opened. so the line trend should go from 1 to 2 then to 3, with dates of 1/1, 3/1, 6/1. Does that make sense?

Put your data in a ribbon chart. See if that works.

lbendlin
Super User
Super User

Not clear what the message is that you want to convey. Please elaborate.

 

lbendlin_0-1726013623176.png

 

 

 

I am trying to create trend graphs over time. Ex. Total POAMs opened over a period of time, total delayed POAMS over a period of time, total completed POAMs over a period of time. I provided an example trend graph that I made in Excel, but can't figure out how to do what I can do easily in excel, in powerBI.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.