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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DM_W
Frequent Visitor

Dynamic title from calculation group column

Hello, I have created a calculation group so that my bar chart shows the data in value or in percentage. There is a slicer on the page and the user can chose between "# Value" and " % Percentage".

The user wants a dynamic title showing which format is selected. But I get this error. Any idea how to solve it?

DM_W_0-1698312450735.png

Thank you

1 REPLY 1
dk_dk
Super User
Super User

I do not have a specific solution unfortunately, but I would try to see if I can make something work with 

SELECTEDMEASUREFORMATSTRING(). I would assume that the output of that DAX would change depending on what format the calculation group applies to your measure, but I am not sure.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors
Top Kudoed Authors