Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Mark_Holland_GD
Helper III
Helper III

Calculated Groups and Dynamic Measure Selection

Hi,

 

I have a PBIX file that currently has almost 700 measures. A lot of these are duplications of the same set up for things like FYTD, PFYTD, Rolling 12 Months, etc. These time intelligence measures have the same set up, regardless of the measure they're pointed to.

 

I've looked at calculated groups as a way to reduce this down. However I want to know if there's a way to use this a bit more dynamically. For example, let's say I have the following measures calculated monthly - I make measures for these rather than adding the field directly to a visual:

 

  • Digital Leads
  • Total Active Clients
  • Service Responsiveness

In a matrix layout, I would like to show the following:

 

  • Digital Leads
  • Digital Leads FYTD
  • Total Active Clients
  • Service Responsiveness Rolling 12 Months

There may be a need for me to have Digital Leads PFYTD added a some point, so I would want to have this ready to go in case it needs to be swapped out.

 

How can I use Calculation Groups dynamically to help me achieve this? If Calculation Groups is not the best way, is there another where I can set up a reference calculation for others to use, which will reduce down the number of measures I have and hopefully improve performance?

 

Thanks,

Mark

5 REPLIES 5
parry2k
Super User
Super User

@Mark_Holland_GD Calculation groups is the way to go and what you have mentioned is what calculation groups get used for. I have tons of videos on my YT channel which talks about various uses cases of calculation groups, and specially more about what kind of things one should take care of when using calculation groups. I would highly recommend to review this playlist and make use of it. Here is the link to the playlist: https://www.youtube.com/playlist?list=PLiYSIjh4cEx2s8-jXBhv5aCu5_6F9zQ3I

 

BTW, Calculation groups are one of my favourite topic when it comes to Power BI, hence so many videos 🙂

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thanks @parry2k ,

 

Is there a specific video you have the addresses what I'm trying to achieve?

Here's an example of what I mean @parry2k :

Enterprise BI, ELT Report - Client Reach January 2025.png

 

In this example, I have multiple measures added to this matrix. You'll see Digital Leads as a monthly value from the original measure, then Digital Leads for FYTD. Then at the bottom of the screen we have Service Responsiveness as a rolling 12 months. So the value in the month column is specific to each measure.

 

How can I do this?

Anonymous
Not applicable

Hi @Anonymous ,

 

Thanks for sending this over. I'm familiar with Field Parameters and have been using them for a while. 

 

My request isn't relating ot Field Parameters. I'm focusing on Calculated Groups and how I can be more specific with the values that I show. For example, rather than having a CG for FYTD that affects all measures in my matrix visual, I want to be able to decide which measures show FYTD and which don't, as per the image I attached.

 

Do you know if this is possible?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.