Hi,
I'm trying to copy the result of a IF function result.
My scenario:
Gallery1 - Label1
Form1 - Datacardvalue1
Label2 (outside Galley1 and Form1): If (Label1.Text = Datacardvalue1.Text; "Yes";"Updates")
My problem is when I try to copy the result of Label2 in Datacardvalue2 a circular reference error appear. Same if a put "
If (Label1.Text = Datacardvalue1.Text; "Yes";"Updates")" in Datacardvalue1.
Is there any way to convert Label2 (boolean) to Text? Or to solve this circular reference directly in Datacardvalue1?
Thanks,
Hi @PriyankaGeethik ,
I'll try to explain it in more detail:
Gallery1: Items: Filter(SPlist1,Reference=Datacardvalue1)
Label1: ThisItem.Reference
Label2: ThisItem.Description
Form1: Items: SPlist2
Datacardvalue1: ThisItem.Reference
Datacardvalue2: ThisItem.Description
Datacardvalue3: If(Label1.Text = Datacardvalue1.Text,'Yes','Updated')
Error in Datacardvalue3: circular reference.
Thanks,
Label 2: If(Label1.Text = Datacardvalue1.Text; "Yes";"Updated")
Hi @luisep ,
Not sure if I understood it correctly or not.
From the formula you used above something like below might work in your case.
If Label 2 is inside gallery : If(Thisitem.Description=Gallery.Selected.Description; "Yes";"Updated")
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.
Hi @PriyankaGeethik,
These are default formulas I've used:
Gallery1: Items: SPlist1
Label 1: ThisItem.Description
Form1: Items: SPlist2
Datacardvalue1: Thisitem.Description
Datacardvalue2: If(Label1.Text = Datacardvalue1.Text; "Yes";"Updated")
Label 2: If(Label1.Text = Datacardvalue1.Text; "Yes";"Updated")
Thanks,
Hi @luisep ,
Please explain the default formula used in below controls.
Label 1
Label 2
Datacardvalue1
Datacardvalue2
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 1