.Vlr_PF_Diff =
Wednesday, March 29, 2023
DAX - Comparação de informações entre 2 tabelas (PROCV)
Wednesday, March 22, 2023
Postgres SQL - AWS Connect
To disable encryption
- File --> Options and settings --> Data source settings
- Click Edit Permissions on your connection
- Uncheck Encrypt Connections
"select#(lf) table_name,#(lf) pg_size_pretty(pg_relation_size(quote_ident(table_name))),#(lf) pg_relation_size(quote_ident(table_name))#(lf)from information_schema.tables#(lf)where table_schema = 'public'#(lf)order by 3 desc", null, [EnableFolding=true])
DAX - Running total based on ranking index - Acumulado Ranking
Rank =
RANKX (
SUMMARIZE (
ALLSELECTED ( FAT_TABLE ),
FAT_TABLE[YYYYMM],
FAT_TABLE[VAR1]
),
CALCULATE ( SUM ( FAT_TABLE[Price (€/t)] ) ),
,
ASC,
DENSE
)
===============================================
Running VAR_Sum =
IF (
ISINSCOPE ( FAT_TABLE[VAR1] ) && ISINSCOPE ( FAT_TABLE[YYYYMM] ),
VAR CurrentRank = [Rank]
VAR SummarizeFAT_TABLE =
CALCULATETABLE (
SUMMARIZE ( FAT_TABLE, FAT_TABLE[VAR1], FAT_TABLE[YYYYMM] ),
ALLSELECTED ( FAT_TABLE )
)
VAR FAT_TABLESales =
ADDCOLUMNS ( SummarizeFAT_TABLE, "@TotalSum", [VAR_Sum], "@Rank", [Rank] )
VAR Result =
SUMX ( FILTER ( FAT_TABLESales, [@Rank] <= CurrentRank ), [@TotalSum] )
RETURN
Result
)
===============================================
Power BI APP - Delete or Unpublish
UNPUBLISH DELETE
-
There are two points to be evaluated: 1. If you want to discard the errors In this case, just run: #"Removed errors" = Table.Re...
-
====================================================== CSV: let Source = SharePoint.Files("https://site", [ApiVersion = 15]), ...
-
Code for creating a table Dim_Calendar Refresh Path let Source = "C:\Temp\datasets\board\csv\__20200210_120926_.ARCHIVE" ...