Project 14 · Power BI Dashboard

Power BI Dashboard · Spend Analysis

✅ published

Executive Power BI report focused on analyzing supplier spend, monthly purchasing trends, discount utilization, and distribution by country, category and vendor tier.

Power BI
Dashboard
Data analysis
BI
Data storytelling

CONTEXT AND OBJECTIVE

The project uses supplier purchasing data to analyze how much was spent, how spend changed from one month to the next, and which suppliers, items and categories account for it. Each invoice identifies a purchase, while its lines show the items included and their amounts. This information makes it possible to study both total spend and the products that make it up.

The data also includes supplier information, locations, dates and recorded commercial terms, such as discounts and payment terms. In Power BI, these tables are related so that the same purchase can be analyzed from different perspectives. The model also includes currency and exchange rate information, which provides context for the transactions.

This information was used to build a dashboard with a navigation cover and two analysis pages. "Spend Trend and Distribution" shows how spend changes over time and how it is distributed across items, suppliers and locations. "Supplier Discounts" makes it possible to review discount terms and the savings amounts associated with purchases.

MODEL AND DIAGNOSIS

Relational model and DAX indicators

The model was built by connecting each invoice to its detail lines and to the tables describing suppliers, items, locations and dates. These relationships ensure that selecting a supplier or category makes the report show only the related transactions. The calendar table organizes dates into months and periods to support comparisons over time.

DAX measures were created from this model: calculations that Power BI recalculates according to the selected filters. They include total spend (Total Invoice), the number of invoices (Invoice Count), spend associated with discounts (Spend with Discount) and discount savings (Discount Savings). Discount percentages and payment terms are also calculated. Each indicator provides a different view of purchases and the terms agreed with suppliers.

To track monthly trends, spend for each month is compared with the previous month. One measure retrieves the amount for the preceding period (Total Invoice Prev Month), while another calculates the percentage increase or decrease (Total Invoice MoM %). The calendar table ensures that the comparison uses equivalent periods.

REFERENCE DAX · PREVIOUS MONTH SPEND
Total Invoice Prev Month =
CALCULATE([Total Invoice],
    DATEADD('Calendar'[Date], -1, MONTH))

In this example, CALCULATE evaluates total spend for the previous month and DATEADD shifts the dates being analyzed back one month. This is an educational reconstruction of the calculation, not a verified transcription of the original measure in the PBIX.

Spend trend and distribution

The "Spend Trend and Distribution" page presents overall indicators showing the total purchase amount, the number of invoices recorded, the share of spend associated with discounts and the savings reflected in the data. A chart shows monthly trends and supports period comparisons to identify increases, decreases and changes in the composition of spend.

REFERENCE DAX · MONTHLY CHANGE IN SPEND
Total Invoice MoM % =
DIVIDE([Total Invoice] - [Total Invoice Prev Month],
    [Total Invoice Prev Month])

The formula compares current month spend with the previous month. It first calculates the difference and then divides it by spend in the preceding period to obtain the percentage change. DIVIDE handles this division when the previous value is zero or unavailable. The expression is illustrative and must be checked against the original DAX in the PBIX.

The same page breaks spend down by category, subcategory and item. It also presents comparisons by country, city and vendor tier, together with a geographical distribution map. Filters show, for example, how the share of each category changes when a period or group of suppliers is selected.

Discounts and terms by supplier

The "Supplier Discounts" page focuses on purchasing terms. It presents discount percentages, the days allowed to qualify for them and payment terms, together with two distinct amounts: spend associated with discounts and savings calculated from the records. Reading these together makes it possible to compare purchase volumes with each supplier’s terms.

The charts compare suppliers by tier and show how savings change over the months. They also bring together spend and discount information by city. To support comparisons between locations, the report includes a ranking that orders cities by spend for the current selection.

REFERENCE DAX · CITY SPEND RANKING
City Spend Rank =
RANKX(ALLSELECTED('Vendor'[Vendor City]),
    [Total Invoice], , DESC, DENSE)

RANKX assigns each city a position according to its spend. ALLSELECTED uses the cities included in the active filters as the reference, so the order changes when the user modifies the selection. This is an explanatory example of the ranking logic, not a verified copy of its DAX expression in the PBIX.

Slicers let users select dates, suppliers or tiers and review indicators using the same selection criteria. The discount percentage expresses a commercial term; spend associated with discounts indicates the purchase amount involved; and savings represent a separate report measure. Presenting them separately helps explain their differences correctly.

DELIVERY AND LEARNING

The Power BI dashboard has a landing page and two interactive pages. The first shows how spending changes over time and how it breaks down. The second brings together discounts and payment terms by supplier. On both pages, the cards and charts update when you change the period, category or supplier.

The model relates purchases to suppliers, items and dates so that report filters affect all indicators consistently. If new transactions are added to the data sources and the model is refreshed in Power BI, the dashboard can show amounts, monthly changes and discounts using more recent information, provided that the source data structure is maintained.