Skip to content

codeby-suyog/PBI_DAX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Welcome to my personal DAX repository where I maintain, document, and share reusable DAX code snippets, Calculation Groups, and other Power BI-related logic for Time Intelligence, Custom Periods, and more.

This repository will continuously grow with new DAX solutions I have worked on during various projects.


πŸ“‚ Repository Structure

DAX_Repository/
β”‚
β”œβ”€β”€ TIME_DIMENSION/
β”‚   └── Custom_Periods_with_Calculation_Groups/
β”‚       β”œβ”€β”€ Custom_Periods_DAX_Code.dax
β”‚       β”œβ”€β”€ custom_period_wth_static_table.dax
β”‚       └── README.md   // Documentation for Custom Periods
β”‚
└── More_DAX_Solutions/ (To be added)

πŸ—‚οΈ Index

1. Time

  • πŸ“‚ Custom_Periods_with_Calculation_Groups Contains DAX expressions and documentation for building Custom Periods using Calculation Groups, designed to handle various time-based analysis such as:

    • Current Week
    • Last Week
    • Last X Days
    • Current Month
    • Year-to-Date
    • Previous Year comparisons
    • And more...

2. More DAX Solutions (Coming Soon)

This section will include:

  • Dynamic Ranking logic
  • Custom Periods using static table
    • DAX for Conditional Formatting
  • Optimized Filter expressions
  • Other reusable DAX patterns

πŸ› οΈ How to Use

  • Navigate to the relevant folder based on your requirement (e.g., Time/Custom_Periods_with_Calculation_Groups).
  • Refer to the provided .dax files for copy-pasting code into Power BI models.
  • Review the accompanying README.md for detailed usage instructions.
  • Follow best practices for DAX code organization and model maintenance.

πŸš€ Contributions & Updates

This is a personal repository. As I explore and implement more DAX logic in real-world projects, I will:

  • Add new organized folders for different DAX topics.
  • Include code examples with inline comments.
  • Maintain proper version history for easy tracking.

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published