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

Community site session details

Session Id : Kz1ruqZ8SbMIBUl9Ar2Enm
Power Apps - Building Power Apps
Answered

This formula uses an area that is not currently supported for evaluation Datatype: text

Like (0) ShareShare
ReportReport
Posted on 22 Apr 2020 05:59:58 by

Hi all. Hope that one of you can guide me in the tight direction.

 

I have a PowerApp that has a form (Form1) that has a data connection to a SharePoint list. Nothing fancy there. On another screen I have a label that contains data I want to write back to a field in Form1. In the label I am using an if statement to do the right calculations based on the choise in a dropdown control in Form1. The calculation works like intended, but the data from the label is not getting back to the field in Form1, and I cannot find out why.

 

PowerAppsError.PNG

 As you can see form the picture above, the calculation works fine, but the data is not writen back to the text field in Form1.

  • DataCardValue2 is a standard dropdown control in Form1
  • DataCardValue5 is a standard textfield in Form1

The textfield in Form1 is empty, and I get this error message:

This formula uses an area that is not currently supported for evaluation Datatype: text

 

I have tried to put the if statement inside a "text(" but that did not help. I have tried to use "Value(", "Sum(" (in desperation), and finally tried to use a variable, but nothing seems to let me get the data from the label into the Form1 text field.

 

Can anyone guide me in the right direction?

Thanks in advance

/Frank
Denmark

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on 23 Apr 2020 at 13:36:21
    Re: This formula uses an area that is not currently supported for evaluation Datatype: text

    HI @WarrenBelz THX again one more time for having a look at it again. And I must admit that I might not have it all walked throug the first time, but your previous answer got me into another path, and I think I have mixed things up with text/value. I will do as you have suggested, and make a bunch of labels to see what results I get.

     

    THX again 🙂

     

    /Frank

  • Verified answer
    WarrenBelz Profile Picture
    149,640 Most Valuable Professional on 23 Apr 2020 at 12:36:55
    Re: This formula uses an area that is not currently supported for evaluation Datatype: text

    Ok @Anonymous ,

    Firstly the question you asked in your post was about DatacardValue5 and why you were not getting a result and I have answered that. This question introduces a whole heap of new information and really should be another post, but I will look at a few things here. 

    Putting this on a label and relying on it to calculate and then affect another formula could be problematic, however looking at it below

    If(
     DataCardValue2.Selected.Value = "Generelt"; 
     Text(
     Sum(
     LookUp(
     Loentrinstabel;Title = 
     Value(
     LabelSumTrin_1.Text
     );
     månedsløn
     )
     )
     );
     DataCardValue2.Selected.Value = "AC"; 
     Text(
     Sum(
     LookUp(
     ACloen;Trin = 
     Value(
     LabelSumTrin_1.Text
     );
     Maanedsloen
     )
     )
     );
     DataCardValue2.Selected.Value = "Sundhedskartellet"; 
     Text(
     Sum(
     LookUp(
     LoenSundhedskartellet;
     Titel = 
     Value(
     LabelSumTrin_1.Text
     );
     Maanedsloen
     )
     )
     );
     DataCardValue2.Selected.Value = "Sundhedskartellet-ledere"; 
     Text(
     Sum(
     LookUp(
     LoenSundhedskartelletLedere;
     Titel = 
     Value(
     LabelSumTrin_1.Text
     );
     Maanedsloen
     )
     )
     )
    )

    each option has Text wrapped around it. Although this should calculate off a label, you do not need it.

    The first items you should examine rather than trying to work out from the whole formula where the issue might be, put some labels on the screen and type each element in them and see it you get the values from them. The ones I see you need are

    1. MaanedsloenLoentrinstabel_1
    2. TillaegPrMd
    3. Value(DataCardValue5.Text
    4. TillaegReguleringGenerelt
    5. TillaegReguleringSundhed

    If you cannot see the values in these before you run the code, then clearly you will not get the result you are wanting and you will also work out from what is not showing where the issue may be.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    on 23 Apr 2020 at 12:10:57
    Re: This formula uses an area that is not currently supported for evaluation Datatype: text

    Hi @WarrenBelz  and thank you for your suggestion. However I do not get any data from data back from the label. The error message is still the same. It can be a bit hard to explain, but I will try it this way:

     

    The form control is a standard text fieldForm1Field.PNG

    In the salery label I have done as you have mentioned, like this:

     

    If(
     DataCardValue2.Selected.Value = "AC"; Text(Sum(MaanedsloenLoentrinstabel_1 + TillaegPrMd) / 37 * Value(DataCardValue5.Text); "[$-da-DK]#.00");
     DataCardValue2.Selected.Value = "Generelt"; Text(Sum(MaanedsloenLoentrinstabel_1 + TillaegReguleringGenerelt) / 37 * Value( DataCardValue5.Text); "[$-da-DK]#.00");
     DataCardValue2.Selected.Value = "Sundhedskartellet"; Text(Sum(MaanedsloenLoentrinstabel_1 + TillaegReguleringSundhed) / 37 * Value(DataCardValue5.Text); "[$-da-DK]#.00");
     DataCardValue2.Selected.Value = "Sundhedskartellet-ledere"; Text(Sum(MaanedsloenLoentrinstabel_1 + TillaegPrMd) / 37 * Value(DataCardValue5.Text); "[$-da-DK]#.00"))

     

    The label "MaanedsloenLoentrinstabel_1" is also getting data from different SharePoint lists, and the code here is:

     

    If(
     DataCardValue2.Selected.Value = "Generelt"; Text(Sum(LookUp(Loentrinstabel;Title = Value(LabelSumTrin_1.Text);månedsløn)));
     DataCardValue2.Selected.Value = "AC"; Text(Sum(LookUp(ACloen;Trin = Value(LabelSumTrin_1.Text);Maanedsloen)));
     DataCardValue2.Selected.Value = "Sundhedskartellet"; Text(Sum(LookUp(LoenSundhedskartellet;Titel = Value(LabelSumTrin_1.Text);Maanedsloen)));
     DataCardValue2.Selected.Value = "Sundhedskartellet-ledere"; Text(Sum(LookUp(LoenSundhedskartelletLedere;Titel = Value(LabelSumTrin_1.Text);Maanedsloen))))

     

    I think it must have something to with this, because the salary label gets this output: "20.958", while the MaanedsloenLoentrinstabel_1 label gets this outout: "20764,08". It must be something about how I format those two fields, but I cannot see what is wrong, because it all works fine, until i need to get the data from the MaanedsloenLoentrinstabel_1 into the form textfield. Hope this can give you an bette idea of where I have gone wrong 😞

     

    I can see that the column in the SharePoint is a number column., and the data in the SharePoint field is for example "21.123", while it in PowerApps is "21123".

     

    THX in advance

     

    /Frank

  • WarrenBelz Profile Picture
    149,640 Most Valuable Professional on 23 Apr 2020 at 00:17:01
    Re: This formula uses an area that is not currently supported for evaluation Datatype: text

    Hi @Anonymous ,

    You need this - please excuse any spelling - I had to OCR your picture. You need to convert DatacardValue5 to a number

    If(
     DataCardValue2.Selected.Value="AC"; 
     Text(
     Sum(
     MaanedsLoenLoentrinstabel_1 + 
     TiliaegPrMd
     ) / 37 * 
     Value(DataCardValue5.Text);
     [$-da-DK]#.00"
     );
     DataCardValue2.Selected.Value = "Generelt"; 
     Text(
     Sum(
     MaanedsLoenLoentrinstabel_l + 
     TillaegReguLeringGenerelt
     ) / 37 *
     Value(DataCardValue5.Text);
     "[$-da-DK]#.00"
     );
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 688 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 499 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete