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
ASP .NET | InvalidOperationException: An asynchronous module or handler completed while an asynchronous operation was still pending
[InvalidOperationException: An asynchronous module or handler completed while an asynchronous operation was still pending] Error : Asp.net Web API – parent method executes itself before the child asynchronous method is completed. Description : I have a public method that calls
CakePHP 3.x | How to change URL of your website to hide controller/action name
Requirement: While running the website in browser, the url path shows controller name followed by the action name and parameters list. In that case the url looks like: www.xyz.com/User/showDetails/ We may come across two types of requirements. Displaying only the
Javascript | How to call ajax in DevExtreme component using angularjs
var folderApp = angular.module(“folder”, [“dx”]); folderApp.controller(“folderController”, [“$scope”, “$http”, function($scope, $http) { $scope.gridSettings = { columns: [{ dataField: “myObjectName”, caption: “Name”, } { dataField: “myObjectEmail”, caption: “Email”, }], dataSource: new DevExpress.data.CustomStore({ load: function(loadOptions) { return $http({ method: “GET”, url: ” ”;
Salesforce: Execute flow from Process Builder
How to execute flow from Process Builder in salesforce? Sometime it is very useful to execute flow from the Process Builder. We can execute as many flows as we want. Flow can be used to create record, update record or
Selenium | Find a particular window and close it via code
If multiple browser windows are opened, then find a particular window and close it by using web driver. We can do so by using the following function: public static void switchControlToSpecifiedWindow(WebDriver driver) { Iterator < String > windows = driver.getWindowHandles().iterator();
Ubuntu | Remove sendmail completely
Problem: I installed sendmail in my ubuntu system with the help of link http://lukepeters.me/blog/getting-the-php-mail-function-to-work-on-ubuntu. I installed it to test php mail functionality on localhost for my project. It was working slow, therefore, after testing, I wanted to uninstall it completely
Microsoft Azure | Deploy ASP.NET Web Project on Microsoft Azure
1.Go to Server Explorer. Right- click on Azure and click on Connect to Microsoft Azure subscription. A login screen will appear. Enter valid credentials with at least one subscription and sign-in. 2. Now expand Azure. Right click on App Service
PDFtk | View PDF field information from command line
Solution: If you have a pdf and you do not know the names of the fields used in the pdf just follow these steps: 1. Install pdftk (search online). 2. Open the command prompt, run the command: pdftk YourPdf.pdf dump_data_fields
Java | Hibernate best practices
1. Always define hashCode() and equals() methods in your Persistent classes. 2. Persistent class method’s equals() and hashCode() must access its fields through getter methods. It is a good practice to use accessor methods instead of direct instance variable access.
