Forum Discussion
Anonymous
4 years agoNot applicable
Reading through Columns
Is there a way PowerBI can analyse this column from the table and tell me in numbers how many docks, how many headsets etc amitchandak
- 4 years ago
Use below Query
let Source = Excel.CurrentWorkbook(){[Name="Table4"]}[Content], #"Split Column by Delimiter" = Table.ExpandListColumn(Table.TransformColumns(Source, {{"Item Description", Splitter.SplitTextByDelimiter("/", QuoteStyle.Csv), let itemType = (type nullable text) meta [Serialized.Text = true] in type {itemType}}}), "Item Description"), #"Trimmed Text" = Table.TransformColumns(#"Split Column by Delimiter",{{"Item Description", Text.Trim, type text}}), #"Split Column by Delimiter1" = Table.SplitColumn(#"Trimmed Text", "Item Description", Splitter.SplitTextByDelimiter(" ", QuoteStyle.Csv), {"Item Description.1", "Item Description.2"}), #"Changed Type" = Table.TransformColumnTypes(#"Split Column by Delimiter1",{{"Item Description.1", Int64.Type}, {"Item Description.2", type text}}), #"Added Custom" = Table.AddColumn(#"Changed Type", "Item Description", each Text.TrimEnd([Item Description.2],"s")), #"Grouped Rows" = Table.Group(#"Added Custom", {"Item Description"}, {{"Total", each List.Sum([Item Description.1]), type nullable number}}) in #"Grouped Rows"
Vijay_A_Verma
4 years agoMost Valuable Professional
Insert this statement after source
#"Filtered Rows" = Table.SelectRows(Source, each ([STATUSNAME] = "Awaiting Item"))
Anonymous
4 years agoNot applicable
Vijay_A_Verma - It still doesnt seem to work. It is still picking up numbers from fields that have STATUSNAME not equal to 'Awaiting Item'
- Vijay_A_Verma4 years agoMost Valuable Professional
Make #"Filtered Rows" as third row and in place of Source in that use dbo_V_S_Requests.
Hence first statement will be Source, second will be dbo_V_S_Requests and third will be
#"Filtered Rows" = Table.SelectRows(dbo_V_S_Requests, each ([Status] = "Awaiting Item")), - Anonymous4 years agoNot applicable
Vijay_A_Verma I have tried that and it still shows items which are not with 'Awaiting Item' STATUSNAME