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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
purpleme_fin
Frequent Visitor

MACD EMA

Any champion here who is able to do MACD or 12 days EMA calculations (column) using dax?

5 REPLIES 5
v-henryk-mstf
Community Support
Community Support

Hi @purpleme_fin ,

 

At present, in powerbi, there is no dax formula corresponding to it for the time being, and it involves complicated calculation logic behind it. You can refer to the content of the following blog as a reference.

 

MACD (Moving Average Convergence/Divergence Oscillator) [ChartSchool] (stockcharts.com)

MACD or Moving Average Convergence Divergence | Angel One


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

thanks @v-henryk-mstf  Henry. 

But I am already aware of what MACD is and its calculations.

This is why I approached the Forum in the first place.

purpleme_fin
Frequent Visitor

thanks @amitchandak  but it doesnt help. Moving Averages is a cake walk. What makes MACD different is that the first value for the period is a MA value and then all the next days follow a different calc altogether.

Secondly, also I want to do it, not for one stock but multiple stocks.

 

Good to do in Excel but really need some genius for dax(Calc Column)

There are multiple MACD tutorials on Youtube of less than 5minutes and most be skim watched.

 

PS - I was able to do SMA, RSI, Bollinger Bonds but MACD looks a real challenge. 

Hello Sir,

Can you please share resources of the following:

1. RSI, SMA, Bollinger Bonds on excel and power bi.

2. And MACD for excel

I am trying really hard since few days but can't find a suitable solution.

amitchandak
Super User
Super User

@purpleme_fin , There two topics around that, see if those can help

https://community.powerbi.com/t5/Desktop/Moving-Average/m-p/43041

https://sqljason.com/2018/03/highlighting-scatter-charts-in-power-bi-using-dax.html

 

or

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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