Forum Discussion
Dynamic column Value
This is what I've tried and did not work.
Created a measure:
Created a column:
Returning result:
regardless of the selected period, the column returns YES to all rows. Seems the the measure is not dynamically working in a calculated column
- Deku1 year agoSuper User
Calculated columns and tables are generate on semantic model refresh. Slicer selection will have no effect, on these
- danextian1 year agoSuper User
Hi JofrainVisda
That won't work because calculated columns and tables do not respond to slicer selections. While they can influence what is displayed in the report view, they do not dynamically change within the model. In a calculated column, SELECTEDVALUE will either return blank or the alternate result. To achieve dynamic values that respond to slicer selections, measures must be used within visuals. Additionally, a separate column in the fact Continuous Period table is needed to store the period as a number, along with a disconnected table whose column will be used in a slicer to ensure all periods remain visible. Using a column from a related table restricts the visible rows to only those selected.
Please see the attached sample pbix.
- v-aatheeque1 year agoCommunity Support
Hi JofrainVisda ,
Has your issue been resolved? If a community member's response addressed your query, please consider marking it as Accepted Answer and click Yes if you found it helpful.
If you have any further questions, feel free to reach out.
Thank you for being a valued member of the Microsoft Fabric Community Forum!- v-aatheeque1 year agoCommunity Support
Hi JofrainVisda ,
We haven’t heard back from you regarding our previous response and wanted to check if your issue has been resolved.
If it has, please consider clicking “Accept Answer” and “Yes” if you found the response helpful.
If you still have any questions or need further assistance, feel free to let us know — we're happy to help!Thank you!