Forum Discussion
Using SelectedValue with Field Parameter (Prior Period Title Change)
Hari's BI YouTube has a solution to this.
https://www.youtube.com/watch?v=9_2m5Csr55c
You essentially replace the static values in the first column of your field parameters with data references.
Hey, mister bark
I am afraid that this is not a solution to the problem, the problem is that "selectedvalue()" does not work to create a dynamic column header based on a slicer.
"Today()" works fine to make a dynamic column header but in this example it's not based on a slicer so "selectedvalue()" is not used.
- mister_bark2 years agoFrequent Visitor
How about this solution? Creating two calculation groups and a field parameters table which are linked?
https://youtu.be/HTIsZLGpFek?feature=sharedThe newest update allows calculation groups to be created directly in Power BI desktop which may make this more accessible for folks who do not use Tabular Editor.