Forum Discussion
Calculatetable with dynamic calculated filter
Good morning everyone
I have a table where I store the following values
In addition, I have calculated a dynamic unique value, based on a table that already has data. I store this value in a measurement:
Since the selected value is dynamic and chosen by the user, I thought that the table would be calculated by means of the following instruction in DAX:
-----------------------------------------------------------------------------
Please let me know how this situation could be resolved. Thanks for your help.
5 Replies
- amitchandak
Super User
iabarraganc , New table will take the values at the time of creation. Post that they will not take.
I am not sure of use case but you can have the table in memory in a measure. but that is only one measure
- iabarraganc
Helper I
Thank you for your interest amitchandak . What happens is that a set of data is required to be returned (not a single value), since depending on the country and the id, calculations will be made towards the fact table. So a single value does not work for what you need to calculate. Any other idea?
- v-xuding-msft
Community Support
Hi iabarraganc ,
They are static for the calculated table and calculated columns. Please try creating measures. They will be changed with slicers dynamically. You could reference the blogs to learn more about them.
Measure vs Calculated Column: The Mysterious Question? Not!
Scenarios of Using Calculated Tables in Power BI
If you still need help about the calculation, please share some sample data and the expected results. Then we will understand clearly about your request and solve it quickly.
- iabarraganc
Helper I
Hello everyone
After analyzing the different proposed alternatives, it was decided at the backend level of the database to leave the previous value and the current value in the same record. This way it was possible to simplify the use of DAX and increase the dashboard efficiency . The proposed solution alternatives were very useful to find a solution.
Thank you very much for all your collaboration