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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
yakovlol
Resolver I
Resolver I

How to do dynamic Title of the table when you're using calculation group

Hello Community,

 

Can you please help me to find a way to do a dynamic tittle for my matrix.

I'm using a calculation group and Have Hours and Percentage - which is dynamically switch between these two values

But now I want to have a dynamic tittle, so when I click on Hours - it should dispaly "Hours" and when I click on Percentage - I want to have word "Percentage"

 

I've tried SELECTEDVALUE (Calculation_group [Name]] but it didn't work, maybe there are other ideas?

1 ACCEPTED SOLUTION

To do dynamic titles when you're using the Calculation group, you should enable this "Title" that is calculated within the calculation group.

This video helped me to find a solution

https://www.youtube.com/watch?v=Op-JUSyP4XM

View solution in original post

6 REPLIES 6
Nithinr
Resolver III
Resolver III

May be this one works too

Dynamic Title =
SWITCH (
SELECTEDVALUE ( CalculationGroup[Name] ),
"Hours", "Hours",
"Percentage", "Percentage",
BLANK ()
)

Hi @Nithinr unfortunately this approach didn't work, maybe because of calculation within the calculation item

So I have a calculation group with 2 calculation Item fr this two Item's are different calculations for each 

And when i tried this measure and Select % of hours in my slicer - it returns me the actual percent 40% - but not the word "Percent" and i cannot  find out why is that and how to change it

bhelou
Responsive Resident
Responsive Resident

try this : 

DynamicTitle = IF ( ISFILTERED ( 'Calculation_group'[Name] ), SELECTEDVALUE ( 'Calculation_group'[Name], "Unknown" ), "Unknown" )

Hello @bhelou thanks for the answer but it didn't work.

So I have a calculation group with 2 KPI's and for these two KPI's within calculation Item i have different calculations for each of them

And when i do this measure and Select % of hours in my slicer - it returns me the actual percent 40% - but not the word "Percent" and i cannot  find out why is that and how to change it

bhelou
Responsive Resident
Responsive Resident

Hi , kindly share some sample 

To do dynamic titles when you're using the Calculation group, you should enable this "Title" that is calculated within the calculation group.

This video helped me to find a solution

https://www.youtube.com/watch?v=Op-JUSyP4XM

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.