Goals
Share my experiences in analytics, reporting through visualization, and self-service tools.
Enjoying Pirogi in Poland
Linkedin
Meta
Recent Comments
Meta
Author Archives: alapitsk
First Month Gifts Using Generate Function
Often we need to derive first-month sales/donations. In the sample dashboard that I built using public FEC data, there are donors with multiple donations. The formula below allows determining donations in the first month since the first donation in a … Continue reading
Posted in Dax Code Patterns
Tagged dax, Example, Generate, Power BI, Sales 1st month
Comments Off on First Month Gifts Using Generate Function
Donors With Multiple Gifts
Often we need to derive donor with multiple gifts grouped by other dimensions. In the example below, I am adding a count of donors in a specified range from a zip code who made multiple donations. The dashboard example is … Continue reading
Posted in Dax Code Patterns
Tagged dax, Donors With Multiple Gifts, filtering, row context
Comments Off on Donors With Multiple Gifts
Adding Contribution Range Visual
It is often useful too add a gift bracket and then pivot and visualize those ranges. In the example below, I am adding a gift range and then visualizing what kind of gifts (small – large) generated most of the … Continue reading
Posted in Dax Code Patterns
Tagged DAX code, gift brackets, gift range, Range Visual
Comments Off on Adding Contribution Range Visual
Using CrossFilter To Alter Relationship
I recently came over an example of CROSSFILTER function in DAX. While not very common I can see a lot of potential in certain circumstances. Essentially, in a measure, it temporarily alters relationships. In most cases, there is a fact … Continue reading
Posted in Dax Code Patterns
Tagged CROSSFILTER, dax, Example, optimization
Comments Off on Using CrossFilter To Alter Relationship
DAX Retention Year Over Year Pattern
Often we need to write many lines of code in SQL to derive retention year over year. Generally, we join the main fact table to itself and then add a condition that a donor this year has to also be … Continue reading
Posted in Dax Code Patterns
Tagged Calculatetable, dax, Loops, Retention Pattern
Comments Off on DAX Retention Year Over Year Pattern
Dynamic Donor Location Based On The Miles of Zip Code
Here is an example of a dashboard that I created using public FEC data. The data is similar to many donor and sales files. The dashboard will allow you to pick donors based on proximity to a selected zip code. … Continue reading
Posted in Power BI Dashboard Examples
Tagged distance to zip code, geo coding, pbix, power bi example
Comments Off on Dynamic Donor Location Based On The Miles of Zip Code
Cleaning Up Tabular Models
When I started at my current job, much of the new Power BI development occurred in one giant tabular model. At some point, the model had almost 1200 measures. Having so many measures in the model made it hard to … Continue reading
Posted in Tabular Models
Tagged clean up, dax, PowerBI Finder, Tabular Editor, tabular model
Comments Off on Cleaning Up Tabular Models