Forum Discussion
Eds1989
8 years agoNew Member
My first Power BI query
Hi, I'm trying to test Power BI to see if it can suit our needs for dashboard and report creation, but am hitting my head against a brick wall whilst playing with it on my own. I have connect...
- 8 years ago
Hi Eds1989
As for your requirement "Create a query that returns only specific columns, where columns A, B and C are equal to some value”, i make a test as below.
let Source = Excel.Workbook(File.Contents("C:\Users\maggiel\Desktop\case\6\6.13\first query.xlsx"), null, true), Table1_Table = Source{[Item="Table1",Kind="Table"]}[Data], #"Changed Type" = Table.TransformColumnTypes(Table1_Table,{{"col1", Int64.Type}, {"col2", Int64.Type}, {"col3", Int64.Type}, {"A", Int64.Type}, {"B", Int64.Type}, {"C", Int64.Type}}), keeprows=Table.SelectRows(#"Changed Type",each [A]=5 and [B]=5 and [C]=5) in keeprowsBest Regards
Maggie
Eds1989
8 years agoNew Member
Can anyone help me?
The documentation Microsoft have provided around "Shaping Data", seems overly complex and not sure if it answers my basic queies.
Thanks
James