Power Query - Adding a Conditional Index Column
Using the power of records in power query i show you how to create a Conditional index on a simple portfolio dataset.
#dataanalysis #data #powerbi #powerquery #excel #exceltips
Link to Source File:
github.com/jbotes/powerbiTuto...
Functions used:
List.Repeat
Record []
List.Transform
Table.Group
Table.RowCount
List.PositionOf
Table.FromColumns
Пікірлер: 8
You are just amazing man, concepts and solutions you bring are out of the box...
Another great video, would like to hear the real-world situation that prompted this. Seems like a strange thing to need to accomplish.
That is brilliant, and I'm still working on understanding how it all fits together, but I did have a go myself, this did mean having a unique date or index column, then Table.SelectRows(
Looks interesting but I'm going to have to work through that quite a few times to understand what is happening in each step.
amazing video
So in a record you squeeze 2 integers, 1 list and 1 table... Nice! I want you do it (same outcome) with nested LET, to really make a point.
How can you create a library of custom functions?
Hi Sensai, could you please let me know whether this is possible in pq I have two tables in powerquery One table -Custreview ProductId, customer-comments 100, it sucks 102, this is amazing Second table -custmoderate ProductId, lookupword, replaceword 100, sucks, not good 100,it, this 102,amazing,exemplary From Custreview table match Product Id with custmoderate table; if matched; take customer comments field from Custreview and replace lookupword with replaceword. One Product Id can have 100's of word that need to be replaced. Please guide me how to do it in powerquery.