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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Stacked Area accumulative Chart issue

Hi

 

I need to create a visual of a trend aggrigating all the items ( total 3 different items)  over the quarter.

The chart should look like this:

 

nitzani_0-1611583591767.png

 

My table looks like this :

 

 
Item Typedate
Deployed25/1/2021
Green29/1/2021
Red6/2/2021
Yellow7/2/2021
Red9/3/2021
Green10/4/2021
 

 

Could you please guide me how to go about it ?

 

Thanks in advanced !

 

 

 

 

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Please check:

 

1. Create a Calendar table and a Item Types table.

 

Calendar = CALENDAR(DATE(2021,1,1),DATE(2021,12,31))
Item Types = DISTINCT('Table'[Item Type])

 

 

2. Create relationships.

relationships.JPG

 

3. Create a measure and create a Area chart.

 

Measure =
CALCULATE (
    COUNT ( 'Table'[Item Type] ),
    FILTER (
        ALLSELECTED ( 'Table' ),
        'Table'[Item Type] = MAX ( 'Item Types'[Item Type] )
            && 'Table'[date] <= MAX ( 'Calendar'[Date] )
    )
)

 

area chart.jpg

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

View solution in original post

1 REPLY 1
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Please check:

 

1. Create a Calendar table and a Item Types table.

 

Calendar = CALENDAR(DATE(2021,1,1),DATE(2021,12,31))
Item Types = DISTINCT('Table'[Item Type])

 

 

2. Create relationships.

relationships.JPG

 

3. Create a measure and create a Area chart.

 

Measure =
CALCULATE (
    COUNT ( 'Table'[Item Type] ),
    FILTER (
        ALLSELECTED ( 'Table' ),
        'Table'[Item Type] = MAX ( 'Item Types'[Item Type] )
            && 'Table'[date] <= MAX ( 'Calendar'[Date] )
    )
)

 

area chart.jpg

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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