Array in DAX Langugae

bhinangt

New Member
Joined
Mar 21, 2017
Messages
36
Here is the sample data with formula which works fine in excel... But i want to get this results in DAX than what are the suggested functions to be used..?

Live PriceTarget priceArray FormulaResult
8150083000{=INDEX(A3:A5,MATCH(TRUE,A3:$A$5-B2>0,0))} 83,100
8200082500"{=INDEX(A4:A6,MATCH(TRUE,A4:$A$5-B3>0,0))} 82,900
8290085000"{=INDEX(A5:A7,MATCH(TRUE,A5:$A$5-B4>0,0))}Not Achieved
8310086000"{=INDEX(A6:A8,MATCH(TRUE,A$5:$A6-B5>0,0))}Not Achieved

<colgroup><col width="76" style="width:57pt"> <col width="158" style="width:119pt"> <col width="403" style="width:302pt"> <col width="105" style="width:79pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,216,119
Messages
6,128,946
Members
449,480
Latest member
yesitisasport

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top