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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
am-person
New Member

100% stack column chart with categorical counts over time

I need help creating a 100% stack column chart.  I created a measure to do a cumulative count on the categories that I am trying to graph:

 

RT Status count =
    CALCULATE(
        COUNT(Submittals[Created On]),
        FILTER(
            ALLEXCEPT(Submittals, Submittals[Status]),
            Submittals[Created On] <= MAX(Submittals[Created On])))
 
the matrix that this makes is:
amperson_0-1701219486181.png

and gives the 100% stack graph of:

amperson_1-1701219705382.png

Is there a way to create the graph so that the previous month counts carry over?  I guess I am needing the graph to be more representing this matrix table (which I made cut and pasting to explain my point):

amperson_2-1701220357362.png

 Here is truncated data from my table

Approved 2/22/23
Approved 2/22/23
Approved 2/22/23
Approved 2/22/23
Approved 2/22/23
Revise and Resubmit 2/22/23
Approved 7/18/23
Approved 8/15/23
Approved 2/22/23
Draft2/22/23
Approved 2/22/23
Closed7/3/23
Approved 7/7/23
Approved 7/19/23
Approved 7/25/23
Approved 8/9/23
Approved 11/9/23
Approved 9/9/23
Approved 9/18/23
Approved 2/22/23
Draft2/22/23
Draft2/22/23
Revise and Resubmit 8/7/23
Revise and Resubmit 9/15/23
Approved 9/19/23
Open11/15/23
Draft2/22/23
Open2/22/23
Draft2/22/23
Draft2/22/23
Draft2/22/23
Draft2/22/23
Approved 2/22/23
Draft2/22/23
Draft2/22/23
Draft2/22/23
Approved 2/22/23
Draft2/22/23
Draft2/22/23
Approved 2/22/23
Approved 2/22/23
Draft2/22/23
Approved 2/22/23
Draft2/22/23
Open2/22/23
Closed2/22/23
Draft2/22/23
Draft2/22/23
Approved 2/22/23
Approved 2/22/23
Draft2/22/23
Draft2/22/23
Draft2/22/23
Approved 2/22/23
Draft2/22/23
Draft2/22/23
Draft2/22/23
Draft2/22/23
Draft2/22/23
Draft2/22/23
Approved 2/22/23
Draft2/22/23
Approved 2/22/23
Draft2/22/23
Draft2/22/23
Draft2/22/23
Approved 4/27/23
Approved 2/22/23
Approved 2/22/23
Approved 2/22/23
Draft2/22/23
Revise and Resubmit 2/22/23
Approved 2/22/23
Draft2/22/23
Draft2/22/23
Revise and Resubmit 7/6/23
Revise and Resubmit 7/20/23
Approved 8/3/23
Draft2/22/23
Draft2/22/23
Open2/22/23
Draft2/22/23
Approved 2/22/23
Draft2/22/23
Draft2/22/23
Open2/22/23
Draft2/22/23
Approved 2/22/23
Approved 2/22/23
Draft2/22/23
Draft2/22/23
Approved 2/22/23
Approved 2/22/23
Approved 2/22/23
Approved 2/22/23
Draft2/22/23
Revise and Resubmit 2/22/23
Approved 2/22/23
Closed2/22/23
Approved 2/22/23
Approved 2/22/23
Approved 7/28/23
Approved 2/22/23
Revise and Resubmit 2/22/23
Approved 8/1/23
Approved 8/17/23
Approved 6/20/23
Draft2/22/23
Open2/22/23
Draft2/22/23
Draft2/22/23

 

Any help is greatly appreciated.

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1701227575523.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1701227575523.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

That worked!  Thank you!

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

New issue with the new year.  When I adjust the running status count to include the current month with this measure:

 

Running Status count = CALCULATE([Count],DATESYTD('Calendar'[Date], "31/1"))
 
The visual just copies over the December 2023 data onto the new month and the January 2024 data is not exhibited in the matrix. 
amperson_0-1704909108238.png

 

amperson_1-1704909142087.png

How to fix this?  Thanks for any help.

Hi,

Share the download link of the PBI file and show the expected result very clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.