Forum Discussion
Using Value from a Filtered Table
The only part of the data model that is created on the fly is within measures. If you are doing a SELECTCOLUMNS within a calculated table, then that table is only populated when the model is refreshed. This is not truly dynamic as all the tables within your model have to be refreshed for the calculated table to be refreshed.
It sounds like maybe you don't have your relationships set up correctly in your model - can you confirm if you have a relationship between your product table and your shopping table?
To help explain what I am trying to do I have created a very simplified version, the link is below.
If you look at the defintion for t_Shopping, I am trying to set the value for the second column in this table to be equal to the type of fruit selected from the filter shown.
Hope this makes it clear.
Thanks.
https://drive.google.com/open?id=1c2NvjYoGi8oG8L5IEBy9KbaQVrBkZHTm
- Anonymous6 years agoNot applicable
Hi,
still not quite sure why you are doing this, are you trying to analyse fruit sales?
If so you need to think about a suitable data structure to do that, currently you have 3 separate tables and no relationship between them.
Power BI is an application for anlaysing data, not creating shopping lists, unless you are perhaps doing basket analysis?