Announcements
No record found.
Hi all,
Want to execute a method if a field is blank previously but now entered with a new value.
And that new value is used in that method.
How can i do this and on which method of the table i should write the code to do this.
Thanks and regards
Siddhant Singh
Hi Siddhant,
In which area do you need to prepare such a solution ?
I hope I understood you correctly
you can use the modifiedField method to do this
public void modifiedField(fieldId _fieldId)
{
super(_fieldId);
switch(_fieldId)
case fieldnum(MyTable, custAccount):
this.CurrencyCode="";
break;
default:
}
Hi Siddhant Singh,
As mentioned here you need to override modifiedField field on the table level and add your logic there, if you want to check that field was blank before you can this.orig() nuxulu.com/.../Understanding_modifedField_Table_method_in_DAX_2012.html
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 653
André Arnaud de Cal... 493 Super User 2026 Season 1
Syed Haris Shah 317 Super User 2026 Season 1