By browsing and scrolling through the pages of this site, you are accepting the site's Privacy Policy Learn More.
Virtual Analytics
Free financial and economic research tools for professionals, analysts, and students.
Explore Ukrainian banking sector analytics, interactive data visualizations, scoring methodologies,
and Power BI tutorials — all powered by real data.
Explain how make consolidate table using Power Query in Excel (Left Outer Join, Right Outer Join, Full Outer Join, Inner Join, Left Anti Join, Right Anti Join)
Ukrainian Banking Sector Overview as of 01/05/2026
6/19/2026 12:00:00 AM
Aggregate analysis of the state of the banking sector by categories of default risk, dynamics of net assets, capital and profit components of the main players of the banking market
Dear readers, in this example we show how to select specific columns using Power Query.
We have the TotalSales table with two columns.
If we want to add one column that specifies manager’s name from the existing data source we should to add this field in the scope like in this example:
DAX
Ournewcode:
DAX
#"Removed Other Columns"=Table.SelectColumns(#"Changed Type",{"Products","Amount","Manager"})
If we need to add another addition column with null values before manager’s name for future data that we do not have right now the query will be:
Dear readers, in this example we show how to summarize data by products applying specific filter and then to preset the data as top 2 products table in the model.
First you should create a variable. The variable will contain our temp table:
DAX
vartbl=SUMMARIZE(FILTER(TotalSales,TotalSales[Color]="Blue"),TotalSales[Products],"Sales by blue products",SUM(TotalSales[Amount]))
Comments to the DAX expression: you apply filter to the TotalSales table by Color column FILTER(TotalSales,TotalSales[Color]="Blue"), then to choose the group column TotalSales[Products] and create a new column "Sales by blue products" which will contain an amount of total sales of the product.
Second step to return the table with only top two products in descending order:
DAX
TOPN(2,tbl,[Salesbyblueproducts],desc)
Result DAX code:
DAX
FinalDAXexpression:Top2ProductsBlue=vartbl=SUMMARIZE(FILTER(TotalSales,TotalSales[Color]="Blue"),TotalSales[Products],"Sales by blue products",SUM(TotalSales[Amount]))returnTOPN(2,tbl,[Salesbyblueproducts],desc)
Day Power BI Tip
2024-08-17
In this example we show how to summarize values by categories based on total amount of the ratio for each category. In other words, we are going to find TOP N categories based on total amount each category in the whole scope.
For our purpose we should to create two measures:
First measure to calculate Sales amount by Products:
DAX
TotalSales=SUM(TotalSales[Amount])
Second measure to calculate total amount of sales for top two Products: