Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
I have metrics grouped using the new Parameter function. Is it possible to dynamically pass those metrics through 1 measure so that I can apply a calculation item against it...in this case PY?
Below is what I thought would work...but doesn't seem to pass the measure when selecting from the Parameter list.
Solved! Go to Solution.
Hi @codyraptor ,
You can refer the following links to get it...
1. Using Field parameter
Change measure values dynamically in the visual
2. Create a measure dimension table
How to dynamically switch between measures in Power BI visuals with Field Parameters
Best Regards
@codyraptor , This PY can be slicer value
CALCULATE(SELECTEDMEASURE(),'Time Intelligence'[Disp Calcs] = Selectedvalue(YearType[Year Type]) )
@amitchandak To clarify...the filter for Year in the measure is not the issue...I need to dynamically pass the measure through the dax using the Field Parameter. The below dax works...but I don't want to have to call out every metric and possibly lose formatting. I'd rather it recognize the selection in the Field Parameter.
Below is the specific visual I'm trying to support without creating multiple measures. I have 6 metrics in the Field Parameter...I want to pass them all through PY which would make the card dynamic below...allowing me to create 1 PY measure against my 'Metrics' field parameter.
Hi @codyraptor ,
You can refer the following links to get it...
1. Using Field parameter
Change measure values dynamically in the visual
2. Create a measure dimension table
How to dynamically switch between measures in Power BI visuals with Field Parameters
Best Regards
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!