Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
The_Marc_Rohde
Frequent Visitor

Total not working with visual calculation

I am using the visual calculation feature and am getting inconsistent results with totals on the bottom of a table.  I have two calculations in the same table and one is totaling and the other isn't. I can't seem to find a formatting option that will force the calculation.

 

The one that is working is:

 

Remaining = Convert ([On Hand] - [Order Qty], DOUBLE)

 

The one that isn't working is:

Remaining Value = Convert (([On Hand]-[Order Qty])* [Cost], CURRENCY)

 

I have tried converting the one that isn't working to double as well and it doesn't have the outcome.

 

Thanks in advance for thoughts on what I may be doing wrong or if this is a bug with a new feature.

4 REPLIES 4
Anonymous
Not applicable

Hi @The_Marc_Rohde , hello lbendlin, thank you for your prompt reply!

Based on my test, the visual calculation functions as demonstrated below:

vyajiewanmsft_1-1729657422666.png

Additionally, we could format a visual calculation using data types and formatting options as shown below:

vyajiewanmsft_2-1729657679706.png

 

Please update the power bi desktop to the latest version to compare the result.

 

More information for your reference:

 

Using visual calculations in Power BI Desktop - Power BI | Microsoft Learn

 

Best regards,

Joyce

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I have the same settings with different results.  The calculated columns other than the last are working fine.

 

The_Marc_Rohde_0-1730137185101.pngThe_Marc_Rohde_1-1730137223048.png

 

Anonymous
Not applicable

Hi @The_Marc_Rohde

 

Thank you for your feedback.

 

If possible, please upload a sample pbix file without sensitive information for further troubleshooting.

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors