Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi everybody,
I would like to create a variable column function of a slicer. In fact, I have a table with columns named by year and another table with just years which create my slicer.
In fact, I want a column with a kind of "switch" function which when I choose a year in my slicer, the variable column takes values from the targeted column.
Typically, these are my two tables, and the last column will be my variable. In fact, when my slicer = 2017, I would have "Commentaires 2017" into "Commentaires" ...
Best regards
David
Solved! Go to Solution.
Hey,
basically this not possible due to the following:
The interaction of the user with datamodel, eg using a slicer (meaning rows of connected tables are filtered) does not allow to influence the content of a column, even if a calculated column is used.
For this reason, the only possible way to achieve what you are looking for is to create a measure.
Without sample data it's very hard and time consuming to provide more guidance.
I would recommend to prepare a pbix with some sample data, upload this pbix to onedrive or dropbox and share the link.
It would also be helpful to explain the expected result in more detail, at least for my understanding.
Regards
Tom
Hey,
basically this not possible due to the following:
The interaction of the user with datamodel, eg using a slicer (meaning rows of connected tables are filtered) does not allow to influence the content of a column, even if a calculated column is used.
For this reason, the only possible way to achieve what you are looking for is to create a measure.
Without sample data it's very hard and time consuming to provide more guidance.
I would recommend to prepare a pbix with some sample data, upload this pbix to onedrive or dropbox and share the link.
It would also be helpful to explain the expected result in more detail, at least for my understanding.
Regards
Tom
@TomMartens
Thanks for your answer, it looks difficult, I sucess to avoid this kind of method.
Best regards
David
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 30 | |
| 30 | |
| 23 |