Relative Content

Tag Archive for powerbipowerquerym

multiple If statements in power query and also summing the total

I have this written in DAX but I actually have to write it in Power Query. I need a column that adds a 1 if the other columns do not equal “NA” and then adds the 1s together. So if column 1, 2, and 3 were yes and column 4 and 5 were NA then the new column would be the number three.

Ignoring error in Table.ExpandTableColumn or auto-replace with null

I am loading 100s of XML files from a folder and Power Query has created a function from the first file that I had loaded. The problem is not all the XML files have similar structure. Some have nodes that don’t exist in other XML files. I can’t change the source system which generates this.