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

Recreating following Excel visual on Power Bi?

So I have the following Visual in Excel that I want to create on Power Bi.

ECR_Screenshot.png

 

Cumulative Created (Yellow Line Value): start at 949 from 2021, then adds each month "Created" to the new sum(Running total). For example 949 + 49 = 998, etc.. On my Power Bi visual, this is the "Originated" bar
Cumulative Approved (Green Line Value): start at 852 from 2021, then add each month "Approved" to new sum. For example 852 + 9 = 861. On my Power Bi visual, this is the "Completed" bar.
Each line starts at the corresponding y-axis value.
 
Screenshot 2022-11-14 094323.png
 
How would I create these two measure, plot the line graphs in my Power Bi Visual, and create the same visual? I already have the Clusters bars at the bottom. I attached my Power Bi file with what I have so far.
 
Power Bi file:
 
 
 
 
 
 
 

 

 

 

1 ACCEPTED SOLUTION

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.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,

There is a problem with downloading the file.  The site is reported as unafe by MS Edge.  Please share another download link.  Also, how did you derive the numbers in the Backlog column?


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

Added a new link! Please take a look. 

Also for Backlog column, I do not need

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


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

You would need a Date table for cumulative aggregations. With a Date table, there are many YTD-relevant functions like TOTALYTD.
If not, you at least need a MonthNumber column, so the comparison could be made to ensure all months smaller will be aggregated. 
The code is like this
CumulativeCreated = 
CALCULATE(
    SUM(Data[Created]),
    FILTER( ALL(Data[MonthNumber]),  Data[MonthNumber]<=EARLIER(Data[MonthNumber])
    )
)
ppm1
Solution Sage
Solution Sage

You could make the chart with the Deneb visual, by layering 6 "mark"s (4 lines and 2 bars).

Getting Started | Deneb

 

Pat

Microsoft Employee

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.