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 |
|---|---|
| 56 | |
| 42 | |
| 30 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 70 | |
| 58 | |
| 38 | |
| 22 | |
| 22 |