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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
REIProcess
Regular Visitor

Help with single value cannot be determined error

Hi

I am new to Power Bi and hope someone can help

I have two tables with stock qty's from two different warehouses which I would like to match if they don't match

I would like to subtract UAE Qty from AU Qty from each warehouse and see the outcome for each separate line in new column comment which I have created. 

Image below showing my issue 

Hope someone can give me some help as I am a bit confused with error message 

Thanks 

 

REIProcess_0-1739224696642.png

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Use an appropriate aggregation function like MAX(AU[Qty])  or similar.

View solution in original post

6 REPLIES 6
lbendlin
Super User
Super User

Use an appropriate aggregation function like MAX(AU[Qty])  or similar.

Hi thanks for reply. I tried that but its not giving me what I need. 

Below Diff column is outcome with this aggregation. Don't think any of the DAX functions will do what I need here.

All I need it to do is highligh difference between Au_Qty & UAE_Qty as highlighted below.

 

REIProcess_0-1739403483635.png

 

 

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.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Thanks for your help, got it to work somehow. Thanks 

Hi @REIProcess 

It is happy that you can solve the problem , you can share your solution so that more user can refer to. and if your problem has been solved, you can accept your answer as a solution.

 

Best Regards!

Yolo Zhu

Hi Yolo

I am not 100% sure why it is working now.

I was preparing a .pbix file stripped of all other data not relivent to my issue to post here for help and suddenly the recommended  "aggregation function MAX(AU[Qty])" worked perfectly in the stripped file. Sorry cannot understand what differnce might be between the two .pbix files but working now.

Thanks  

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors