Forum Discussion
Extract name calculation item from calculation group
- Anonymous5 years ago
Hi Anonymous,
As the document said, these functions are based on the calculation groups. How did you calculate group settings? Did you confirm you have correctly configured these fields and properties?
If not, you can take a look at the following blog that mentioned about create calculate groups in power bi dekstop:
Creating Calculation Groups in Power BI Desktop
Regards,
Xiaoxin Sheng
lbendlin I thought so to but if I use
measure = SELECTEDMEASURENAME()
it gives me the value of the measure and not the name in a string
Agree with BobKoenen. When using Selected Measure Name, you get the name of the measure that is dragged into the values area of the chart. In my case, I've followed the example at the below link. When I use Selectedmeasurename all I get is "Selected Chart Item" which is the name of the measure item I created in Tabular Editor. What I want is the name of the Calculation item to return as a string so that I can use that string as the title of the chart. Thus, when I change my slicer to "Revenue" the chart title changes to say "Revenue".
https://exceleratorbi.com.au/dynamic-formatting-of-switch-measures/