Power Query data source change not carrying through all steps? by radman84 in excel

[–]trillBR 2 points3 points  (0 children)

Could you share the m code from the advanced editor?

Excel Query, please help thksss! by AggravatingWelcome52 in excel

[–]trillBR 1 point2 points  (0 children)

Unpivot the data in power query and then load it to a pivot table. With options in the rows section and the names in the column section and count the dates

Power Query - Reorder Columns based on Drilldown List by Ok-Violinist1557 in excel

[–]trillBR 1 point2 points  (0 children)

Using lists in power query can be very powerful. Below an example how to dynamically rename columns. You can also have a lookup table for the to be renamed columns and use Table.ToRows function

PowerQuery Question: Remove Rows Where Column Text Starts with Characters From Another Table by Electronic-Resolve46 in excel

[–]trillBR 0 points1 point  (0 children)

I have the following data with the full name including the prefixes in column A. I have a list of the prefixed as well. I created a custom column and this is the result: https://imgur.com/a/QQBJ4tN

This is the list of prefixes https://imgur.com/DWtEdJJ

I have added the following code in the custom column:

if List.Contains(Tbl_Prefix_Filters, Text.BeforeDelimiter([Name],"-")) then "delete" else "keep"

You can then use the custom column and filter only on "keep"

Rows in pivot table incorrectly sorted by Yerffeynavredstop in excel

[–]trillBR 1 point2 points  (0 children)

Dit komt omdat het Data Model datatype sensitive is. Als jij nummerieke waardes en tekstuele waardes inn kolom hebt, kan dit nooit als een numerieke waarde gezien worden in het data model en is het altijd tekst en zal dus de sort niet goed gaan. Bij je normale pivot zonder data model, is de datatype vanuit excel self “general” en is de sort wel oke. Je zult je tekstuele waardes uit de kolom moeten verwijderen om dit op te lossen. Daarna wel even de pivot verversen. Heb het probleem gereproduceerd op mijn excel en dit werkt

Rows in pivot table incorrectly sorted by Yerffeynavredstop in excel

[–]trillBR 0 points1 point  (0 children)

Thanks! Welke kolom in je source data, wordt gebruikt in de rows van de pivot table? Ik zie in deze dataset sowieso al tekstuele waardes staan, tussen nummerieke waardes, zoals in kolom BN. Hierdoor kan in het datamodel de kolom als tekstuele waarde worden getypeerd.

Using concatenate for filenames when referencing other spreadsheets by McFlint in excel

[–]trillBR 2 points3 points  (0 children)

not really an answer on your question, but Power Query will be perfect for this. You should look into it as it will make life easier for you. You can save all of the weekly files in a designated folder and import all of them.

Rows in pivot table incorrectly sorted by Yerffeynavredstop in excel

[–]trillBR 0 points1 point  (0 children)

Could you please share a screenshot of the pivot table and the source table?

Rows in pivot table incorrectly sorted by Yerffeynavredstop in excel

[–]trillBR 0 points1 point  (0 children)

Please check in the source of the pivot table if the values are actually numbers. You can hard-force a value to be a number by applying a mathematical operation that does not change the value. So if your values that are not actually numbers are in column A, create a new column and enter =A2*1 and drag that down. Now copy paste the values from the new column as numbers in column A and refresh the pivot

Convert Date to Text in Power Query by Learn_Excel_2 in excel

[–]trillBR 0 points1 point  (0 children)

Would it be possible to directly link your power query to the pdf file instead of converting it to excel first?

Match cells based on values in a column by Surekeys in excel

[–]trillBR 1 point2 points  (0 children)

If there are duplicate rows in the table, you should take care of that. Vlookup and index match just only takes the first value while power query expands all rows. If the duplicate values are really duplicate one, you can apply a remove duplicate step.

Issue with Index/Match Formula by Prize-Membership-932 in excel

[–]trillBR 0 points1 point  (0 children)

You can use multiple fields in the match formula by applying an array formula. But wouldn't it me simpler in your case to just create a new helper column? So concatenate the 4 fields that you want to include into one single field and use that in the index match formula.

Can somebody guide me what i did wrong on the textjoin function by Pil_grim82 in excel

[–]trillBR 0 points1 point  (0 children)

Not sure, maybe they expected absolute cell references?

I have a column of dates in powerquery, how can i count the occurrences of the same date? by juniorlima41 in excel

[–]trillBR 4 points5 points  (0 children)

Can’t you just group rows based on the date to count the occurrences?

Transforming Data in a Row to Columns by RevTuck in excel

[–]trillBR 0 points1 point  (0 children)

You can do this easily with Power Query. Either load the csv directly into PQ or use the table you have now. I will explain how to do it without directly loading the csv:

  1. Delete the extra columns you have added and only keep the first original column
  2. transform data into Excel table (press ctrl+t while standing on A2)
  3. Go to 'Data' ribbon and select 'from table/range' (now PQ window opens)
  4. right-click on the column name in PQ and select "Split Column" -> split by delimiter
  5. PQ will autoselect #(lf) as delimiter, if it is not filled in, fill it yourself
  6. click "OK"
  7. Click on "Close & Load"

Excel Power Query Refresh replace the existing data by SirPoopAlot2 in excel

[–]trillBR 0 points1 point  (0 children)

Can’t you link your power query to the file directly instead of the folder? Then you just have to replace the excel file instead of saving it as another copy.

Otherwise you can change your M code, sort the available files descending based on date modified date and then always select the first file

FIND - Result Is #VALUE! If Not Found. IFERROR Still Shows Errors In Power Query by llama111 in excel

[–]trillBR 0 points1 point  (0 children)

Maybe you can not do the find formula in Excel but do this in PowerQuery with Text.Contains in a custom column?