I have a table with columns Client, Product, StartDate, EndDate in power query. I neede…
- User
I have a table with columns Client, Product, StartDate, EndDate in power query. I neede to get unique dates betweet all StartDate and EndDate for each unique combination of Clinet and Product. Provide steps to get that in Power Query
- Assistant
To get unique dates between the StartDate and EndDate for each unique combination of Client and Product in Power Query, you can follow these steps:
-
Load your table into Power Query by selecting the table in Excel, going to the "Data" tab, and clicking "From Table/Range".
-
In the Power Query Editor window, you will see a preview of your table. Make sure the columns are correctly detected and named (Client, Product, StartDate, EndDate).
-
Select the "Client" and "Product" columns by holding the Ctrl key and clicking on each column header.
-
With the columns selected, go to the "Transform" tab and click on "Group By".
-