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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Bullrich
Frequent Visitor

Cumulative Values at Stacked Graphic

I have the following problem. I need to created a graphic showing at the axis X = Month/Year and at the Y the Status (Qty) that should be accumulated by month (Jun-2020, Jul-2020 + Jun-2020, Aug-2020 + Jul-2020 and son on

Bullrich_0-1606243267281.png

Any any Ide

5 REPLIES 5
Bullrich
Frequent Visitor

Hi Amit,

I checked the articles and watched your video series (very helpful) , unfortunately I couldn't make it, I'm new to Power BI.

I also believe that I did not formalize my problem correctly. I need to create a "Stacked Chart" where X = Month / Year and Y = QTY (the Status field is a String it’s not a numeric field) and the displayed values must be accumulated month by month. 

thank you very much for your help and patience.

Hi,

Share the link from where i can download your PBI file.


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

Hi Ashish,

 

I created 2 sample files (.PBIX and .XLSX), you can find the files here:  https://1drv.ms/u/s!AgdS8XqKTHEXmU_VWBiTWzesMAo4?e=FCS9DP

 

Thanks a lot, AlexBullrich

Hi Ashish,

 

Any thoughts, I can create the Calendar date table and mark as the date in model view, link it with my date column in my fact table. The problem is that I can handle the measure. I need to create a test PBIx file onde I can't share the official one that I'm working on.

 

Thanks a lot, AB

amitchandak
Super User
Super User

@Bullrich , Try a rolling two month measure with a date table

Rolling 2 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-2,MONTH))

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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