Portfolio Risk

Measure potential portfolio losses (Value at Risk) across thousands of return scenarios

Overview

A simulation that measures the risk and potential loss of a portfolio of assets over a defined time horizon. It uses historical price data to simulate thousands of future return scenarios and calculates how much you could lose in the worst cases — quantified as Value at Risk (VaR).

Answer the question: "If market conditions turn bad, how much of my portfolio value could I lose — and what's the probability of that happening?"

Data — What data do you need

Field Power BI field / example Description
AssetAAPL, AMZN, GOOGL, MSFT, TSLAThe name or ticker of each asset in the portfolio.
DateHistorical price datesUsed to calculate historical returns over time.
PriceSum of PriceThe asset price at each date — the model computes daily/period returns from this field.

Use Case — VaR Analysis for a 5-Asset Tech Portfolio

Scenario: A portfolio manager holds 5 tech stocks. They want to quantify how much the portfolio could lose in a bad month — at the 5% and 1% confidence levels — to set appropriate risk limits and capital reserves.

Configuration:

  • Problem Type: Portfolio Risk
  • Asset: Ticker symbol (AAPL, AMZN, GOOGL, MSFT, TSLA)
  • Date: PriceDate (historical price dates)
  • Price: Sum of Price

Sample output — VaR and Expected Shortfall per asset and portfolio:

AssetPortfolio WeightExpected ReturnVaR (5%)VaR (1%)Max Loss
AAPL22%+1.8%-4.2%-7.1%-18.3%
AMZN18%+2.1%-5.6%-9.3%-24.7%
GOOGL20%+1.6%-4.8%-8.0%-21.2%
MSFT25%+1.4%-3.9%-6.4%-16.8%
TSLA15%+3.2%-9.4%-15.8%-41.3%
Portfolio100%+1.9%-3.8%-6.2%-15.4%
⚠️
Reading the result: The Portfolio VaR (5%) of -3.8% means there is a 5% probability of losing more than 3.8% in any given period. TSLA drives the most tail risk despite its 15% weight. The manager can use this to rebalance toward lower-VaR assets or set stop-loss levels.
Portfolio Risk output in Flexa Analytics