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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Mardin
Advocate IV
Advocate IV

Create Milestone Trend Analysis (MTA) in Power BI?

Hi there! I am struggling with a request from a customer who wants a Milestone Trend Analysis (MTA) in Power BI.
The main issue is that I need to have Dates as both X and Y axis! Any suggestions?

Example: http://www.project-management-knowhow.com/images/MTA_3.gif
13 REPLIES 13
JoaquimGui
Regular Visitor

I was also looking for a solution to create a Milestone Trend Analysis (MTA) in Power BI. For those looking for a free solution, I developed the MTA in Deneb using Vega-Lite. You can of course change the Vega-Lite code to your needs and/or add more functionality.

 

I wrote a blog post explaning how to create the MTA here --> https://www.data-traveling.com/articles/milestone-trend-analysis-visual-in-power-bi-with-deneb You can also find the Power BI report in the blog post.

 

See a screenshot below:

 

1.PNG

Michel_Dekker
Frequent Visitor

Hi Mardin,

 

It took us some time, but we have developed an MTA for Power BI.

 

Probably not usefull for the project you mention, but for future projects have a look here: https://appsource.microsoft.com/en-us/product/power-bi-visuals/novasilvagroupbv1626174611009.milesto...

 

MTAscreenshot.png

Hi,

 

We are trying to use the MTA visual, but no succes  yet. Can you provide a sample pbix so we can understand how it works?

 

Thanks,

Irina

Hi Irina,

 

At the Microsoft AppSource you can download a demo book (example PBIX)

Michel_Dekker_0-1673624331188.png

Click on Download Sample.

 

Does this work?

 

Michel

Yes, Thanks 😉

barakb32
Advocate I
Advocate I

Hi @Mardin ,

 

We had the same requirement.

We used the Python visual to meet this requirement.

 

Regards,

Barak

Anonymous
Not applicable

Hi @barakb32 ,

 

Your solution sounds really interesting !

Do you have an example showing how it is built on GitHub?

I feel comfortable using ggplot2 or matplotlib but it is different to build an entire visual from scratch...

 

Regards, 

Romain

 


@barakb32 wrote:

Hi @Mardin ,

 

We had the same requirement.

We used the Python visual to meet this requirement.

 

Regards,

Barak


Hi @Anonymous ,

Here it is: https://github.com/barakb32/PBI-MTA

Regards,

Barak

Hello @barakb32 

I have found your PowerBI file with trend analysis. You invoked separate rows with 'BI', '45 Line', and the dates to plot the data points. 

adarshthouti141_0-1725882884969.png


But I have a data not of your kind where the 'Sample Date' is in different column which is 'Data Date' and I have activity 'Finish Date' . 

Could you please tell me how I can plot the 'Data Date' in x-axis and 
the 'Finish Date' with respect to the 'Activity ID' in y-axis? 


adarshthouti141_1-1725883062368.png

 

I have tried to modify the python code and implement with respect to my requirement, but that isn't working. 

Anonymous
Not applicable

Thanks @barakb32 , this is really nice !

 

Best regards,

Romain

Anonymous
Not applicable

@Mardin,

Currently, in Power BI, it is not possible to use Dates on Y axis as shown in your image, Power BI expect a measurement on Y axis.

As a workaround for your issue, you can create the MTA chart in Excel, then pin the chart to Power BI Dashboard following the guide in this article. Another option is to create the visual using R in Power BI, for more details, please review this similar thread.


Regards,
Lydia

Thanks for the tips! 🙂

 

Do you know if it's possible to incorporate an Excel chart in a PowerBI Report? ...Not pin it to a Dashboard but actually show it within a report. For this task it would not be feasable to only pin it in a Dashboard since the chart is to be used next to other stuff in the report.

 

I may have to look in to R-script at some point, but at the moment I haven't learned it yet.

 

Right now I am playing with the thought of simply converting the dates that I need on the Y-axis to some sort of Index number or value representing the date. Any ideas are welcome! 🙂

Anonymous
Not applicable

@Mardin,

There is no method to incorporate Excel chart in Power BI report except pinning the chart to dashboard.

As your post, you can try to convert dates to numeric data.

Regards,

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.