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
wenchi
Helper I
Helper I

dynamic title from calculation group selection

my report connect to AS model using live connection. The AS model contains few calculation groups including time intelligence and measure metric, such as volume, store count, etc. They all work as expected. I am trying to create a dynamic chart tiltle based on the item the user pick from calculation group. For example, if the user choose volume, the title will show "YoY Volume Comparsion" or "YoY Store Count Comparison" if the user choose store count from calculation group. I can't find a way to get the the selected item from calculation group. I've tried selectedvalue or isfilter dax, and none of them work. Any one get this to work ?

Another related question to calculation group is how to create a measure that can ignore the calculation group? I use ALL in my dax code, and it does not work either. Sometimes I need to display data in a table and not all measures in this table that i want to work with calculation group and I can't find a way to solve it either.

Any helps is appreciated.

 

thanks,

Wenchi Wang

3 REPLIES 3
amitchandak
Super User
Super User

@wenchi , Not very clear. Have you used Tabular Editor?

https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/

https://www.youtube.com/watch?v=vlnx7QUVYME

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I create the AS model using Visual Studio which had calc group. No issue for calculation group. Just wondering how to get the selected item and incorporated to visual title in PBI report. For example, my time table has MTD, QTD, YTD calculated items. How do I detect which item selected by the user?

Anonymous
Not applicable

@wenchi ,did you get any solution?  I'm too looking to implement the dynamic title.

SELECTEDMEASURENAME() and SELECTEDVALUE() did not work for me either.

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.