web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / AddColums dont't show ...
Power Apps
Unanswered

AddColums dont't show the right values

(0) ShareShare
ReportReport
Posted on by 248

Hi there,

 

I have a problem with AddColumns function:

 

 

Collect(entregas;
 AddColumns(
 GroupBy(
 Filter(
 AddColumns(
 '[dbo].[tbPODetails]';
 "Code";
 LookUp('[dbo].[tbPO]';Id = IdPO;NPO)
 );
 IdProject = pry;
 ActiveETA = true
 );
 "IdProject";
 "IdPO";
 "Code";
 "Supplier";
 "Grupo"
);
 "ETA1";
 LookUp('[dbo].[tbPODetails]';PO = Code;ETA1);
 "Origen";
 "Pedidos";
 "Status";
 If(IsBlankOrError(Sum(Filter('[dbo].[tbWarehouseDetails]';IdPO = IdPO);Amount)) ;"Pendiente";
 If((Sum(Filter('[dbo].[tbWarehouseDetails]';IdPO = IdPO);Amount)/Sum(Filter('[dbo].[tbPODetails]'; IdPO = IdPO); EuroAmount))<1;"Pendiente";
 "Entregado"));
 "Status1";
 If(IsBlankOrError(Sum(Filter('[dbo].[tbWarehouseDetails]';IdPO = IdPO);Amount)) ;0;
 Sum(Filter('[dbo].[tbWarehouseDetails]';IdPO = IdPO);Amount)/Sum(Filter('[dbo].[tbPODetails]'; IdPO = IdPO); EuroAmount))
))

 

 

The issue is on the columns "Status" and "Status1" because all records in the gallery show the same value and isn't update in each one for his own "IdPO".

 

Anyone know why?

 

Thank you.

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard