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 / Error when sharing App...
Power Apps
Answered

Error when sharing App - Expression "ProjectName eq null" is not supported...

(0) ShareShare
ReportReport
Posted on by 49

I have an app created where I am doing a distinct lookup between two columns and then between three columns for a New Form. 

It all seems to work but when i publish it, i get these errors.

There are no blank fields in my datasets. 

The first option in the dataset for each dropdown is "All"

There are two datasets.

 - One for the ProjectName & Corresponding ProjectNumber

 - One for the Service, SubService and Type 

 

Here is the error I get. 

guanel1_0-1680659112305.png

All three of these fields are dropdown fields that are feeding another dropdown in a cascade. 

I used the "Depends on..." option for each Item. 

 

Example1:  the dropdown called DDProjectName.Selected.Result will feed the dropdown DDProjectNumber.Selected.Result

Example2: The dropdown DDService.Selected.Result is feeding the dropdown DDSubService.Selected.Result which is then feeding the DDType.Selected.Result

 

Items Details

Project Name: ForAll(SortByColumns(Distinct(Table1,ProjectName),"Value"), {Result: ThisRecord.Value})

Project Number: ForAll(Filter(Table1, ProjectName = DDProjectName.Selected.Result), {Result: ThisRecord.ProjectNumber})

 

Service: ForAll(Distinct(Service,Service),{Result: ThisRecord.Value})

SubService: ForAll(Distinct(Filter(Service,Service = DDService.Selected.Result),SubService),{Result: ThisRecord.Value})

Type: ForAll(Filter(Service,SubService = DDSubService.Selected.Result),{Result: ThisRecord.Type})

 

 

The data ACTUALLY does filter correctly, however when my users open the App, these three errors pop up and it isn't exactly showing an aesthetically pleasing form...

I am fairly new to Power Apps (Just taught myself a few days ago) and usually i can work my way to an answer, but this one has me stumped. There are no Null values in my datasets...

 

Based on what is giving me an error, I think it has to do with how I set up my cascading dropdowns for these two datasets. 

Categories:
I have the same question (0)
  • Verified answer
    guanel1 Profile Picture
    49 on at

    I was able to finally find an answer after three days of searching. 

     

    1st. I realized i didnt need the ForAll function in my formulas so i removed them. 

    2nd, i needed to add a If(IsBlank( to my Item formula so that it would be able to not look for null values in my dataset (that didnt exist). 

     

     

    I need to update the Item = If(IsBlank(DDProjectName.Selected.Value),Table1,Filter(Table1, ProjectName = DDProjectName.Selected.Value))

     

    Basically saying, If the previous dropdown is blank then show the whole table1 data for ProjectNumber, otherwise, filter the ProjectNumber column based on the data listed in the ProjectName Column. 

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 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard