can i use dax in power query?
Generally, you cannot use DAX functions in an Excel formula or use Excel formulas in Power Pivot without some modification. DAX functions never take a cell reference or a range as reference, but instead DAX functions take a column or table as reference.