The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi ALL, I have created a dynamic table with following DAX, I need to create it in a way that can be sliced by a slicer which defines SelectedProject instead of defining it manually :
Solved! Go to Solution.
Hi @sahar_nezhad ,
To make your calculated table respond to a slicer selection, you’ll need to switch from a calculated table to a measure-based visual or use a calculated table inside a visual (like a matrix). Calculated tables are static at model load time and don’t respond to slicers.
Here’s what you can do instead:
VAR SelectedProject = SELECTEDVALUE('Projects'[tr_nickname])
But again, this won’t work inside a calculated table. You’ll need to move the logic into a measure and use it in a visual like a matrix or line chart.
If you absolutely need a dynamic table output, consider using a paginated report or a calculation group to simulate dynamic table behavior.
Here’s a Microsoft doc that explains why calculated tables don’t respond to slicers:\ Microsoft Learn
Let me know if you want help converting your logic into a measure-based visual.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
Translation and formatting supported by AI
Hi @sahar_nezhad,
Thank you for reaching out to Microsoft Fabric Community.
Thank you @danextian and @burakkaragoz for the prompt response.
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user's resolved your issue? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa
Hi @sahar_nezhad,
We wanted to kindly follow up to check if the solution provided by the user's resolved your issue? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa
Hi @sahar_nezhad,
We wanted to kindly follow up to check if the solution provided by the user's resolved your issue? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa
Calculated tables and columns are not aware of slicer selections so they won't update as you interact with a slicer. You will need to use a table (visual) with all the needed columns and use a measure to control what rows will be visible.
Hi @sahar_nezhad ,
To make your calculated table respond to a slicer selection, you’ll need to switch from a calculated table to a measure-based visual or use a calculated table inside a visual (like a matrix). Calculated tables are static at model load time and don’t respond to slicers.
Here’s what you can do instead:
VAR SelectedProject = SELECTEDVALUE('Projects'[tr_nickname])
But again, this won’t work inside a calculated table. You’ll need to move the logic into a measure and use it in a visual like a matrix or line chart.
If you absolutely need a dynamic table output, consider using a paginated report or a calculation group to simulate dynamic table behavior.
Here’s a Microsoft doc that explains why calculated tables don’t respond to slicers:\ Microsoft Learn
Let me know if you want help converting your logic into a measure-based visual.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
Translation and formatting supported by AI
User | Count |
---|---|
78 | |
74 | |
43 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |