I am trying to get data using the IMPORTDATA function in GS and filter only columns starting with 'TEXT'.
=IMPORTDATA("https://api.coinbase.com/v2/exchange-rates?currency=BTC",",")
From here, I am getting a lot of columns
Then I just want to filter columns starting with 'a string'. When I use the formula below, I got en error;:
=QUERY(IMPORTDATA("https://api.coinbase.com/v2/exchange-rates?currency=MEER%22,%22,%22),%22where Col starts with 'rates'")
Error: NO COLUMN Col
Any ideas ? Thanks
Use
filter(), like this:In the event the data only ever has just one row, you can leave out
chooserows():See let(), filter() and regexmatch().