Forum Discussion
Dynamic legend using a DAX measure
Anonymous Yeah, the usual way of doing this is the disconnected table trick:
In general, to use a measure in that way, you need to use the Disconnected Table Trick as this article demonstrates: https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick/ba-p/279563
I cannot enter data, I am on a live connection so this option is not given
- v-easonf-msft5 years agoCommunity Support
Hi, Anonymous
Unfortunately, you cannot apply the created measure to the visual legend , and Live connection does not support the creation of calculated columns and tables.
We suggest you to modify the original model by adding a category table.
Best Regards,
Community Support Team _ Eason- Anonymous5 years agoNot applicable
v-easonf-msft can you elabrate more on adding a category table, what exactly do you mean?
- v-easonf-msft5 years agoCommunity Support
Hi, Anonymous
The table used to create the category filter should be created in advance when building the LC model, not after the model is connected using powerbi.
Best Regards,
Community Support Team _ Eason