Uploaded December 2025 | Updated December 2026, 1 hour ago
What if you could cut your DAX by 50%, 70%, or even 90%… without losing ANY flexibility?
In this video, Patrick is showing you how User-Defined Functions (UDFs) combined with Calculation Groups can completely change how you build and scale Power BI models.
If you’ve ever dealt with:
✔ Multiple inactive relationships
✔ Tons of nearly identical measures
✔ Repeated CALCULATE + USERELATIONSHIP logic
✔ Duplicating dimensions
✔ “Measure explosion” (10 base measures → 30+ actual measures)
…then this video is for you!
In this walkthrough Patrick will show you:
🔥 How to create a DAX User-Defined Function that dynamically activates relationships
🔥 How to pass measures + columns as parameters to eliminate repetitive code
🔥 How to replace 12, 20, or even 50 measures with a single calculation group
🔥 The exact pattern to simplify your model and reduce maintenance
🔥 A real example using Internet Sales + multiple date relationships
📢 Join other data professionals in our community: guyinacube.com
HOST:
Patrick LeBlanc
⏱️CHAPTERS
00:00 — Stop writing so much DAX
00:27 — The modeling problem (multiple inactive relationships)
01:45 — The traditional approach (measure explosion)
02:30 — Creating the User-Defined Function
03:40 — Using the function dynamically
04:30 — Building the Calculation Group
05:45 — Live demo + results
06:20 — Final thoughts & next steps
🎥 RELATED VIDEOS
Stop Rewriting DAX! Build REUSABLE Functions in Power BI: youtu.be/ZvoCYwjUTYw?si=OSKv9AI3tLEVqPKS&list=PLPTMjo-PnaJk
LET'S CONNECT!
- Official website: guyinacube.com
- LinkedIn: linkedin.com/company/guyinacube
- X: twitter.com/guyinacube
- Facebook: facebook.com/guyinacube
- Bluesky: https://bsky.app/profile/guyinacube.bsky.social
#PowerBI #PowerBITutorial #LearnPowerBI #DataAnalytics #MicrosoftFabric #GuyInACube
What if you could cut your DAX by 50%, 70%, or even 90%… without losing ANY flexibility?
In this video, Patrick is showing you how User-Defined Functions (UDFs) combined with Calculation Groups can completely change how you build and scale Power BI models.
If you’ve ever dealt with:
✔ Multiple inactive relationships
✔ Tons of nearly identical measures
✔ Repeated CALCULATE + USERELATIONSHIP logic
✔ Duplicating dimensions
✔ “Measure explosion” (10 base measures → 30+ actual measures)
…then this video is for you!
In this walkthrough Patrick will show you:
🔥 How to create a DAX User-Defined Function that dynamically activates relationships
🔥 How to pass measures + columns as parameters to eliminate repetitive code
🔥 How to replace 12, 20, or even 50 measures with a single calculation group
🔥 The exact pattern to simplify your model and reduce maintenance
🔥 A real example using Internet Sales + multiple date relationships
📢 Join other data professionals in our community: guyinacube.com
HOST:
Patrick LeBlanc
⏱️CHAPTERS
00:00 — Stop writing so much DAX
00:27 — The modeling problem (multiple inactive relationships)
01:45 — The traditional approach (measure explosion)
02:30 — Creating the User-Defined Function
03:40 — Using the function dynamically
04:30 — Building the Calculation Group
05:45 — Live demo + results
06:20 — Final thoughts & next steps
🎥 RELATED VIDEOS
Stop Rewriting DAX! Build REUSABLE Functions in Power BI: youtu.be/ZvoCYwjUTYw?si=OSKv9AI3tLEVqPKS&list=PLPTMjo-PnaJk
LET'S CONNECT!
- Official website: guyinacube.com
- LinkedIn: linkedin.com/company/guyinacube
- X: twitter.com/guyinacube
- Facebook: facebook.com/guyinacube
- Bluesky: https://bsky.app/profile/guyinacube.bsky.social
#PowerBI #PowerBITutorial #LearnPowerBI #DataAnalytics #MicrosoftFabric #GuyInACube



![Power BI Version History vs Version Control Explained - When Should You Use What? [Complete Guide]
Have you ever opened a Power BI file only to realize someone overwrote your work, or that yesterdays version is gone? Many Power BI developers assume SharePoint or OneDrive version history is enough, but version history and true version control solve very different problems. In this video, Marthe Moengen breaks down when version history is sufficient, when Git integration becomes essential, and how Power BI, Fabric, TMDL, GitHub, and source control workflows can help teams safely collaborate, track changes, and recover from mistakes without rebuilding reports from scratch.
Want confidence managing report changes across your team? Join The Cube and connect with other data professionals at https://guyinacube.com
✅ KEY TAKEAWAYS
• Understand the difference between version history and version control
• Explore Power BI Desktop version history capabilities
• Review semantic model version history in the Power BI Service
• Connect Fabric workspaces to Git repositories
• Compare and review changes through TMDL
• Undo specific report and semantic model changes
• Learn how Git branches support team collaboration
• Resolve merge conflicts using TMDL-based comparisons
• Use five practical checks to determine which approach fits your organization
🎥 RELATED VIDEOS
Using Power BI reports from an end user perspective
https://www.youtube.com/watch?v=TAsUb93r2tg&list=PLv2BtOtLblH1IJqcqSuMTyvEi7W-laWti&index=1
Power BI for report consumers and end users
https://www.youtube.com/watch?v=cZsQj1WFkGE&list=PLv2BtOtLblH1IJqcqSuMTyvEi7W-laWti&index=1
Master Power BI Personalized Visuals and Perspectives for Flexible Reporting
https://www.youtube.com/watch?v=20HwiEhIShc&list=PLv2BtOtLblH1IJqcqSuMTyvEi7W-laWti&index=1
⏱️ CHAPTERS
0:00 Version history vs control
1:05 Using version history
2:25 Implementing version control
6:53 Choosing the right strategy
🌐 LETS CONNECT!
Official website: https://guyinacube.com
LinkedIn: https://www.linkedin.com/company/guyinacube
Facebook: https://www.facebook.com/guyinacube
Instagram: https://instagram.com/guyinacube_official
TikTok: https://www.tiktok.com/@guyinacube_official
Bluesky: https://bsky.app/profile/guyinacube.com
X: https://x.com/guyinacube
🎤 HOST
Marthe Moengen
#PowerBI #Git #MicrosoftFabric #TMDL #VersionControl Power BI Version History vs Version Control Explained - When Should You Use What? [Complete Guide]](https://i.ytimg.com/vi/vo80YOx0fi0/mqdefault.jpg)






