Data Analysis Expressions (DAX) in Power BI
Data Analysis Expressions (DAX) is a powerful formula and query language used in Microsoft Power BI, Excel Power Pivot, and Analysis Services to perform calculations and manipulate data. It allows users to create custom metrics, measures, and calculated columns, enabling
Problems in mounting Windows NTFS drives in Ubuntu
While using dual boot system (Windows + Ubuntu) there can be problems with mounting the drives of Windows inside Ubuntu. This problem generally occurs with Windows 8 and above versions. Solution: When we shutdown our system it does not fully
CakePhp | beforeSave and afterSave Callback Methods
beforeSave(): This function is called automatically before every save or update operation. This function must return true if you want to continue save process. The data for save, if needed in this function, will be in $this->data. Syntax: class MyModel
PHP | What is the purpose of data filtering in PHP?
Data Filtering is required in PHP to validate input and sanitize input received. Generally, we need to validate data before inputs need to be saved or used in our webpage. Wrong data inputs may cause exceptions or erroneous state in
Apache Solr | Indexing all files in a folder recursively
Indexing of all files inside a folder and all its subfolders can be done using java language in the following ways: 1. Using data import handler. 2. Without data import handler i.e by creating a recursive function in java code.
Java | Wrapper classes, autoboxing and unboxing
Wrapper classes are the classes to convert the primitive types to objects of their respective class. We have many primitive types in Java like int, float, char etc. These primitive types can not be used in Collections as Collections only
Salesforce | Why to use @TestVisible annotation
Problem: Why we use @TestVisible annotation for a private method and private variable of a Class in Salesforce? Description: I have a situation where I want to call a private method of a class in the test class, whenever I
PHP | Short introduction to traits in PHP
In PHP, the trait is a method of code re-usability. Php is single inheritance programming language. So there is a limitation of code reusability due to single inheritance. Traits in PHP is basically a method of code reusability. Traits have
Salesforce | How to track email sent by workflows or process builder in email history section of record?
1.Create an email template. For example, we created a template called “Leads: Welcome email” Somewhere in the template, add “ref:{Object Id of the record}” which you want to track the activity For example, in our template, we added ref: {!Lead.Id}.
Moodle | Uploading Scorm Package and some internal function calls
1.Uploading a scorm package (.zip) in moodle: a. Log-in to moodle, navigate to your course and “turn editing on”: b. Click “Add an activity or resource” link: c. Select Scorm package from list and click Add button: d.Add basic information
