Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
have a data source that i need to filter on condition before it is opened, thought that the Advanced Options method using an SQL query would be the best but havnt had much success yet with the statement.. im a bit of a novice at SQL it appears.
ODBC (dsn=NetSuite)
BussinessName Pty Ltd
Administrator
table name is MESSAGE
wish to open all of MESSAGE where EVENT_ID !=""
Hi @crichards,
I think you can use the SQL statement option to load data with conditions.
SELECT * FROM XXXXX WHERE EVENT_ID <> ""
Reference link:
QUERY ODBC data source - only import data WHERE condition is true
Regards,
Xiaoxin Sheng
thanks Xiaoxin, i tried your line with no luck, also tried a variation.. still no good
SELECT * FROM Administrator_Schema.MESSAGE WHERE EVENT_ID != ""
in the Query Editor, can i change this to filter on EVENT_ID? currently have below.
= Administrator_Schema{[Name="MESSAGE",Kind="Table"]}[Data]
any ideas?
HI @crichards,
>>i tried your line with no luck, also tried a variation.. still no good
I'd like to suggest you to modify formula at datasource side and copy the available query to sql statement box.
>>in the Query Editor, can i change this to filter on EVENT_ID? currently have below.
I don't think you can direct fitler on that step, it not include filter option.
Regards,
Xiaoxin Sheng
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
146 | |
72 | |
63 | |
52 | |
51 |
User | Count |
---|---|
208 | |
91 | |
62 | |
59 | |
56 |