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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Benx
Helper I
Helper I

DAX Help - Line Chart displays for full quarter

Hello All!  

I'm working with some sample Jira data, and trying to create a line chart that shows the changes in total Estimated Story Points, and Unestimated Story Points throughout a full quarter, running from 7/1 through 9/30. The sample data I'm working with only has data updates on 7/20, 7/21, 7/22, 7/25, 7/26, 7/28, 8/1, and 8/24, but I'm trying to get the line charts to start on 7/1, and display the last-updated totals through the end of the quarter.

 

Here's what I've been able to achieve so far:

Benx_0-1663003676116.png

 

Here are the two DAX measures I've used in the above visual:

Estimated Story Points (repeating) =
VAR StoryPoints =
    SUM ( 'Repeating Story Table Test'[Story Points] )
RETURN
    CALCULATE ( StoryPointsREMOVEFILTERS ( Dates[Date] ) ) + 0

Unestimated Stories (repeating) =
VAR StoryCount =
    DISTINCTCOUNT ( 'Repeating Story Table Test'[Story Issue Key] )
VAR UnpointedStories =
    CALCULATE (
        StoryCount,
        'Repeating Story Table Test'[Story Points] = BLANK ()
            || 'Repeating Story Table Test'[Story Points] = 0
    )
RETURN
    CALCULATE ( UnpointedStories, REMOVEFILTERS ( Dates[Date] ) ) + 0
 
Here's a view of the data I'm working with:
Benx_1-1663004392647.png

 

Here's a view of the Date/Calendar table the above table is related to using the Update date:

Benx_2-1663004432666.png

 

Any help you can offer wold be much appreciated!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Benx,

You can use the calendar table as the axis of the chart, modify your formula to change the condition to 'less than or equal to' the current date values, and add +0 after the formula to expand calculations on the date ranges.
After these steps, you need to add an if statement package above formula to compare the current date and quarter to confirm these calculations are processed on the specific date ranges.
Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Benx,

You can use the calendar table as the axis of the chart, modify your formula to change the condition to 'less than or equal to' the current date values, and add +0 after the formula to expand calculations on the date ranges.
After these steps, you need to add an if statement package above formula to compare the current date and quarter to confirm these calculations are processed on the specific date ranges.
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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