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.
Hi, I am trying to calculate the below excel formula in Power BI as a calculated column (DAX or MQuery or Python)
Formula:
IDA = ((1 + (Current value of PX_LAST/10000)) * Next IDA value)
Sample Data with calculation:
As of Date | PX_Last | IDA |
1/11/2013 | 1 | 10,066,030.73 |
1/10/2013 | 41 | 10,065,024.23 |
1/9/2013 | 43 | 10,023,926.13 |
1/8/2013 | -6 | 9,981,007.80 |
1/7/2013 | -13 | 9,987,000.00 |
10000000 |
Any help would be greatly appreciated!
Thasnk,
SV
Solved! Go to Solution.
Well, never say never.
Behold:
IDA_m = 1+max('Table'[PX_Last])/10000
IDA_p =
var d=max('Table'[As of Date])
return 10000000*PRODUCTX(filter(all('Table'),'Table'[As of Date]<=d),[IDA_m])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |