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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
mgradijan
Resolver I
Resolver I

Line chart not connecting on running total for fiscal month

I have a line chart that has all monthly data points connected when I choose a single year to show, but when I select 2 years to show a comparison, the months where there were no sales is not connected.   screen shots of 2020 and 2019 & 2020 are below.  what am I missing? 

mgradijan_0-1604676520232.png

 

mgradijan_1-1604676568175.png

 

1 ACCEPTED SOLUTION
mgradijan
Resolver I
Resolver I

I figured out that I had put an if blank statement in so that the future monthly sales would not show up as a flat line to the end of the year.  

I redid the quick measure to create running total for sales by fiscal month and put this field in the Value box and now the graph displays as expected.   All set here

View solution in original post

3 REPLIES 3
mgradijan
Resolver I
Resolver I

the line chart as expected.......

 

mgradijan_0-1604678106272.png

 

mgradijan
Resolver I
Resolver I

I figured out that I had put an if blank statement in so that the future monthly sales would not show up as a flat line to the end of the year.  

I redid the quick measure to create running total for sales by fiscal month and put this field in the Value box and now the graph displays as expected.   All set here

mgradijan
Resolver I
Resolver I

I probably should have listed the formual for the running total calculations: 

 

INVOICED SALES running total in Fiscal Month = IF(ISBLANK(SUM('Invoice_Master'[INVOICED SALES])),BLANK(),
CALCULATE(
    SUM('Invoice_Master'[INVOICED SALES]),
    FILTER(
        CALCULATETABLE(
            SUMMARIZE(
                'Date Table',
                'Date Table'[Fiscal Month Number],
                'Date Table'[Fiscal Month]
            ),
            ALLSELECTED('Date Table')
        ),
        ISONORAFTER(
            'Date Table'[Fiscal Month Number], MAX('Date Table'[Fiscal Month Number]), DESC,
            'Date Table'[Fiscal Month], MAX('Date Table'[Fiscal Month]), DESC
        )
    )
))

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors