Year and month combination in R
The year and month combination in R is possible in different ways. In my case, it is a combination in one data frame column that is logically sortable. For example, the combination in a format YYYYMM.
in
Switch Power BI chart axis dimensions
Here is a solution to add more analytical capabilities to your Power BI charts. Switch Power BI chart axis dimensions to get data grouped by dates, weeks, months, or any other way that you want. By modifying the data model, you can create a slicer that can swap the necessary scale of the axis. That…
How to calculate weighted average using DAX in Power BI
Here is how to calculate weighted average using DAX in Power BI. By creating a measure that calculates the weighted average, you can get results by necessary category.
Replace values in the entire R data frame or range of columns
Sometimes data frames or a wide range of columns might contain values that you want to remove or replace. Here is how to replace values in the entire R data frame or range of columns.
in
3 ways how to create OR logic in DAX
OR logic in DAX is frequently used in various Power BI calculations. The bad and the good news is that you can create that in multiple ways. In this post is 3 of them, and you can decide which is the best one for you.
Top 6 Excel advanced filter tips and tricks
Here are my top 6 Excel advanced filter tips and tricks. It is a great tool to speed up and optimize filtering processes in Excel, and it is a good reason to master that more.
in
How to filter by data frame row number in R
RStudio data viewer is a great tool to look into data, but sometimes it is necessary to filter by data frame row number in R. By importing files, you might get a warning from parsing with a specified row number, and it might be necessary to do further investigation.
in
How to extract the pattern of numbers from text in R
Here is how to extract phone numbers, ids, or any other pattern of numbers from text in R. With the help of regex, it is possible to do this seemingly complicated task easily.
in