Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Folks,
Solved! Go to Solution.
Please try this version.
Converted_AR2 =
VAR SelectedRate =
SWITCH (
TRUE (),
[SelectedCurrency] = "CAD", 1,
[SelectedCurrency] = "EUR", P_EUR_to_CAD_Rate[EUR_to_CAD_Rate_Value],
[SelectedCurrency] = "INR", DIVIDE ( 1, P_INR_to_CAD_Rate[INR_to_CAD_Rate_Value] ),
[SelectedCurrency] = "USD", P_USD_to_CAD_Rate[USD_to_CAD_Rate_Value],
BLANK ()
)
VAR ExchangeRate =
IF (
MAX ( DatesTable[Date] ) > Labels[Ledger_LatestDate],
SelectedRate,
[Exchange_Rate_Normalised]
)
VAR AccountsReceivable =
CALCULATE (
SUMX (
FACT_Actuals_Master,
( FACT_Actuals_Master[Credits] - FACT_Actuals_Master[Debits] )
),
FACT_Actuals_Master[Account Master Name] = "Accounts Receivable",
ALL ( DatesTable )
)
RETURN
AccountsReceivable * ExchangeRate * -1
Pat
Please try this version.
Converted_AR2 =
VAR SelectedRate =
SWITCH (
TRUE (),
[SelectedCurrency] = "CAD", 1,
[SelectedCurrency] = "EUR", P_EUR_to_CAD_Rate[EUR_to_CAD_Rate_Value],
[SelectedCurrency] = "INR", DIVIDE ( 1, P_INR_to_CAD_Rate[INR_to_CAD_Rate_Value] ),
[SelectedCurrency] = "USD", P_USD_to_CAD_Rate[USD_to_CAD_Rate_Value],
BLANK ()
)
VAR ExchangeRate =
IF (
MAX ( DatesTable[Date] ) > Labels[Ledger_LatestDate],
SelectedRate,
[Exchange_Rate_Normalised]
)
VAR AccountsReceivable =
CALCULATE (
SUMX (
FACT_Actuals_Master,
( FACT_Actuals_Master[Credits] - FACT_Actuals_Master[Debits] )
),
FACT_Actuals_Master[Account Master Name] = "Accounts Receivable",
ALL ( DatesTable )
)
RETURN
AccountsReceivable * ExchangeRate * -1
Pat
@Greg_Deckler I think I've shared a sample database with you here: https://www.dropbox.com/s/lhmjui5bmkgsri2/AR%20Database.pbix?dl=0
New to this, may not have done this properly.
@Greg_Deckler, thanks, I'll take a look at that and if I can't see anything obvious I'll set up a pbix replicating the problem.
@Anonymous It's hard to be certain what is going on here. Sometimes these kinds of issues are caused by the Auto-exist "feature".
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |