Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, I have a SUMX DAX that I am using to do a calculation as below
PRINCIPAL_DIS_ACTUAL =
VAR A =
SELECTEDVALUE ( V_D_EXCHANGE_RATE[RATE] )
VAR b =
CALCULATE (
SUMX ( FILTER (
V_F_DISBURSEMENT,
V_F_DISBURSEMENT[PAYMENT_DT] >= MIN ( FROM_DATE[Date] )
&& V_F_DISBURSEMENT[PAYMENT_DT] <= MAX ( DATES[Date] )
), V_F_DISBURSEMENT[PRINCIPAL_DIS] * A )
)
RETURN
b
Both the columns used in the multiplication are of type decimal. But in the final result in table visualisation the total isn't displayed for the measure as shown below. Any help is appreciated.
Hi, @smukherjee
Have you tried to use sumx(summarize()) to display total?
Like this:
PRINCIPAL_DIS_ACTUAL =
SUMX (
SUMMARIZE (
V_F_DISBURSEMENT,
[column1]//related column,
"a",
VAR A =
SELECTEDVALUE ( V_D_EXCHANGE_RATE[RATE] )
RETURN
SUMX (
FILTER (
V_F_DISBURSEMENT,
V_F_DISBURSEMENT[PAYMENT_DT] >= MIN ( FROM_DATE[Date] )
&& V_F_DISBURSEMENT[PAYMENT_DT] <= MAX ( DATES[Date] )
),
V_F_DISBURSEMENT[PRINCIPAL_DIS] * A
)
),
[a]
)
If it doesn't solved your problem,please share some sample data and feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If the Rate column is in your visual, SELECTEDVALUE will return blank in the total row. You need to use a different expression, or assign a default value for SELECTEDVALUE(Table[Rate], defaultvalue).
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |