Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I plan to select the last item by date and time listed in the table.
Table.Buffer() make my refresh time significantly slower.
1. Will it be better if I do it with SQL ?
2. How could I manually enter SQL query since there is no advance option in PostgreSQL connection option.
M code are below :
let
Source = PostgreSQL.Database("xx.xxx.xxx.xx:port", "db-name"),
sc_aaa_vw_aaa_info = Source{[Schema="sc_aaa",Item="vw_aaa_info"]}[Data],
....
in
...
Solved! Go to Solution.
@tanat_inc , Try if connecting via ODBC can allow you to give query
https://hevodata.com/learn/connect-postgresql-to-power-bi/
| User | Count |
|---|---|
| 55 | |
| 37 | |
| 26 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 58 | |
| 39 | |
| 21 | |
| 21 |