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
Add floating buttons with simple HTML and CSS
Add float button with CSS and html without using any external library with on hover show/hide effect. Mostly people use third party plugins or complex and unnecessary long css to add floating buttons, but we can create the same button
Document Spring based Restful API using Swagger
Swagger is a very powerful tool to generate documentation of your Rest based web services API containing Spring annotations. You don’t need to add any type of comments to your code to generate documentation. It will pick the Spring annotations
Postgres | Function to remove HTML tags from text
Problem: How to create a function in Postgres that will remove HTML tags from a piece of text? Solution: Create function in Postgres : CREATE OR REPLACE FUNCTION strip_tags(TEXT) RETURNS TEXT AS $$ SELECT regexp_replace($1, ‘]*>’, ”, ‘g’) $$ LANGUAGE
Dynamic CSS | How to start your project in SCSS
Before understanding how to maintain or start a project in SCSS we should understand what is SCSS and why it is used? SCSS is a special type of file for SASS, a program written in Ruby that assembles CSS style
Migrate AWS EC2 machine using Snapshot Sharing
How to migrate an EC2-machine from one AWS account to another aws account? Solution: To migrate EC2 machine, there are following main steps: Create Snapshot of the existing machine drives. Migrate the EC2 machine. Upgrade/downgrade migrated machine configuration. Step 1: Create
Salesforce | Change Visibility of several fields of an object
Problem: Change Visibility of several fields of an object. Need: One example is when a package is deployed to another org then the visibility of the fields can be different than expected which affects the functionality. Solution: Since editing each
Tips about time management when you have a lot to do at work
“A stitch in time saves nine “ This famous proverb holds absolutely true when it comes to software developers for we waste a lot of time in correcting things which show up because of lack of time as we have
Eclipse | Enable Php Support for extra features
In Eclipse (Luna Service Release 2 (4.4.2), jump to method definition is available for Java and other languages. But sometimes, it gets disabled for PHP. For example ,if eclipse crashes. So to enable this, first you have to select the
JQuery | Draggable conflict with Contenteditable
JQuery Draggable function conflict with Contenteditable Dom attribute I am creating HTML editor in which I have the requirement to add an editable and draggable div. I have applied both the properties to the div: draggable and Contenteditable, but only
