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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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 

Anonymous
Not applicable

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.