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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.